home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magical CD Author
/
Magical CD Author.iso
/
PictureMaker
/
Picture Maker 1.0.6
/
Picture Maker 1.0.6.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1994-08-08
|
372KB
|
6,799 lines
# near model CODE resource
# jump table entries: 10-32791 (32782 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 0CAE 0000 3A98 0008 cmpi.l [A6 + 0x8], 0x3A98
0000000C 640C bcc +0xE /* 0000001A */
0000000E 3F2E 000A move.w -[A7], [A6 + 0xA]
00000012 4EBA 01C4 jsr [PC + 0x1C4 /* 000001D8 */]
00000016 548F addq.l A7, 2
00000018 601E bra +0x20 /* 00000038 */
label0000001A:
0000001A 0CAE 0080 0000 0008 cmpi.l [A6 + 0x8], 0x800000
00000022 6304 bls +0x6 /* 00000028 */
00000024 7000 moveq.l D0, 0x00
00000026 6010 bra +0x12 /* 00000038 */
label00000028:
00000028 202E 0008 move.l D0, [A6 + 0x8]
0000002C 5480 addq.l D0, 2
0000002E A11E syscall NewPtr, flags=1
00000030 6B04 bmi +0x6 /* 00000036 */
00000032 30FC FFFF move.w [A0]+, 0xFFFF
label00000036:
00000036 2008 move.l D0, A0
label00000038:
00000038 4E5E unlink A6
0000003A 4E75 rts
0000003C 4E56 FFFC link A6, -0x0004
00000040 0CAE 0080 0000 000C cmpi.l [A6 + 0xC], 0x800000
00000048 6304 bls +0x6 /* 0000004E */
0000004A 7000 moveq.l D0, 0x00
0000004C 606A bra +0x6C /* 000000B8 */
label0000004E:
0000004E 082E 0000 000F btst.b [A6 + 0xF], 0x0
00000054 6704 beq +0x6 /* 0000005A */
00000056 52AE 000C addq.l [A6 + 0xC], 1
label0000005A:
0000005A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000005E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000062 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000066 2D40 000C move.l [A6 + 0xC], D0
0000006A 0C80 0080 0000 cmpi.l D0, 0x800000
00000070 6304 bls +0x6 /* 00000076 */
00000072 7000 moveq.l D0, 0x00
00000074 6042 bra +0x44 /* 000000B8 */
label00000076:
00000076 0CAE 0000 3A98 000C cmpi.l [A6 + 0xC], 0x3A98
0000007E 6428 bcc +0x2A /* 000000A8 */
00000080 3F2E 000E move.w -[A7], [A6 + 0xE]
00000084 4EBA 0152 jsr [PC + 0x152 /* 000001D8 */]
00000088 548F addq.l A7, 2
0000008A 2D40 FFFC move.l [A6 - 0x4], D0
0000008E 6712 beq +0x14 /* 000000A2 */
00000090 2F2E 000C move.l -[A7], [A6 + 0xC]
00000094 4267 clr.w -[A7]
00000096 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000009A 4EBA 2E2A jsr [PC + 0x2E2A /* 00002EC6 */]
0000009E 4FEF 000A lea.l A7, [A7 + 0xA]
label000000A2:
000000A2 202E FFFC move.l D0, [A6 - 0x4]
000000A6 6010 bra +0x12 /* 000000B8 */
label000000A8:
000000A8 202E 000C move.l D0, [A6 + 0xC]
000000AC 5480 addq.l D0, 2
000000AE A31E syscall NewPtrClear, flags=3
000000B0 6B04 bmi +0x6 /* 000000B6 */
000000B2 30FC FFFF move.w [A0]+, 0xFFFF
label000000B6:
000000B6 2008 move.l D0, A0
label000000B8:
000000B8 4E5E unlink A6
000000BA 4E75 rts
000000BC 4E56 0000 link A6, 0
000000C0 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000000C4 2E2E 000C move.l D7, [A6 + 0xC]
000000C8 286E 0008 movea.l A4, [A6 + 0x8]
000000CC 0C87 0080 0000 cmpi.l D7, 0x800000
000000D2 6306 bls +0x8 /* 000000DA */
000000D4 7000 moveq.l D0, 0x00
000000D6 6000 00E2 bra +0xE4 /* 000001BA */
label000000DA:
000000DA 200C move.l D0, A4
000000DC 660C bne +0xE /* 000000EA */
000000DE 2F07 move.l -[A7], D7
000000E0 4EBA FF1E jsr [PC - 0xE2 /* 00000000 */]
000000E4 588F addq.l A7, 4
000000E6 6000 00D2 bra +0xD4 /* 000001BA */
label000000EA:
000000EA 4A87 tst.l D7
000000EC 660E bne +0x10 /* 000000FC */
000000EE 2F0C move.l -[A7], A4
000000F0 4EBA 00D0 jsr [PC + 0xD0 /* 000001C2 */]
000000F4 588F addq.l A7, 4
000000F6 7000 moveq.l D0, 0x00
000000F8 6000 00C0 bra +0xC2 /* 000001BA */
label000000FC:
000000FC 0807 0000 btst.b D7, 0x0
00000100 6702 beq +0x4 /* 00000104 */
00000102 5287 addq.l D7, 1
label00000104:
00000104 204C movea.l A0, A4
00000106 7000 moveq.l D0, 0x00
00000108 3020 move.w D0, -[A0]
0000010A 4640 not.w D0
0000010C 6602 bne +0x4 /* 00000110 */
0000010E A021 syscall GetPtrSize
label00000110:
00000110 5580 subq.l D0, 2
00000112 2C00 move.l D6, D0
00000114 BC87 cmp.l D6, D7
00000116 6314 bls +0x16 /* 0000012C */
00000118 2A07 move.l D5, D7
0000011A 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000120 6526 bcs +0x28 /* 00000148 */
00000122 0C87 0000 3A98 cmpi.l D7, 0x3A98
00000128 6570 bcs +0x72 /* 0000019A */
0000012A 6062 bra +0x64 /* 0000018E */
label0000012C:
0000012C BC87 cmp.l D6, D7
0000012E 6414 bcc +0x16 /* 00000144 */
00000130 2A06 move.l D5, D6
00000132 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000138 6454 bcc +0x56 /* 0000018E */
0000013A 0C87 0000 3A98 cmpi.l D7, 0x3A98
00000140 6458 bcc +0x5A /* 0000019A */
00000142 6018 bra +0x1A /* 0000015C */
label00000144:
00000144 200C move.l D0, A4
00000146 6072 bra +0x74 /* 000001BA */
label00000148:
00000148 204C movea.l A0, A4
0000014A 3220 move.w D1, -[A0]
0000014C 2006 move.l D0, D6
0000014E 9087 sub.l D0, D7
00000150 D240 add.w D1, D0
00000152 3081 move.w [A0], D1
00000154 4641 not.w D1
00000156 D0C1 add.w A0, D1
00000158 3080 move.w [A0], D0
0000015A 60E8 bra -0x16 /* 00000144 */
label0000015C:
0000015C 224C movea.l A1, A4
0000015E 3021 move.w D0, -[A1]
00000160 4640 not.w D0
00000162 41F1 0000 lea.l A0, [A1 + D0.w]
00000166 3010 move.w D0, [A0]
00000168 6B30 bmi +0x32 /* 0000019A */
0000016A 2B6D F9F4 F9F8 move.l [A5 - 0x608], [A5 - 0x60C]
00000170 7200 moveq.l D1, 0x00
label00000172:
00000172 D041 add.w D0, D1
00000174 3230 0000 move.w D1, [A0 + D0.w]
00000178 6AF8 bpl -0x6 /* 00000172 */
0000017A 3080 move.w [A0], D0
0000017C 2207 move.l D1, D7
0000017E 9286 sub.l D1, D6
00000180 D0C1 add.w A0, D1
00000182 9041 sub.w D0, D1
00000184 6514 bcs +0x16 /* 0000019A */
00000186 6702 beq +0x4 /* 0000018A */
00000188 3080 move.w [A0], D0
label0000018A:
0000018A 9351 sub.w [A1], D1
0000018C 60B6 bra -0x48 /* 00000144 */
label0000018E:
0000018E 204C movea.l A0, A4
00000190 5588 subq.l A0, 2
00000192 2007 move.l D0, D7
00000194 5480 addq.l D0, 2
00000196 A020 syscall SetPtrSize
00000198 6AAA bpl -0x54 /* 00000144 */
label0000019A:
0000019A 2F07 move.l -[A7], D7
0000019C 4EBA FE62 jsr [PC - 0x19E /* 00000000 */]
000001A0 588F addq.l A7, 4
000001A2 2640 movea.l A3, D0
000001A4 200B move.l D0, A3
000001A6 6710 beq +0x12 /* 000001B8 */
000001A8 2005 move.l D0, D5
000001AA 224B movea.l A1, A3
000001AC 204C movea.l A0, A4
000001AE A02E syscall BlockMove/BlockMoveData
000001B0 2F0C move.l -[A7], A4
000001B2 4EBA 000E jsr [PC + 0xE /* 000001C2 */]
000001B6 588F addq.l A7, 4
label000001B8:
000001B8 200B move.l D0, A3
label000001BA:
000001BA 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000001BE 4E5E unlink A6
000001C0 4E75 rts
fn000001C2:
000001C2 4E56 0000 link A6, 0
000001C6 202E 0008 move.l D0, [A6 + 0x8]
000001CA 6708 beq +0xA /* 000001D4 */
000001CC 2040 movea.l A0, D0
000001CE 4660 not.w -[A0]
000001D0 6602 bne +0x4 /* 000001D4 */
000001D2 A01F syscall DisposPtr/DisposePtr
label000001D4:
000001D4 4E5E unlink A6
000001D6 4E75 rts
fn000001D8:
000001D8 4E56 FFF8 link A6, -0x0008
000001DC 2F07 move.l -[A7], D7
000001DE 3E2E 0008 move.w D7, [A6 + 0x8]
000001E2 5647 addq.w D7, 3
000001E4 0887 0000 bclr.b D7, 0x0
000001E8 2D6D F9F4 FFFC move.l [A6 - 0x4], [A5 - 0x60C]
000001EE 202D F9F8 move.l D0, [A5 - 0x608]
000001F2 664C bne +0x4E /* 00000240 */
label000001F4:
000001F4 203C 0000 3AA0 move.l D0, 0x3AA0
000001FA A11E syscall NewPtr, flags=1
000001FC 6B00 0086 bmi +0x88 /* 00000284 */
00000200 317C FFFF 3A9A move.w [A0 + 0x3A9A], 0xFFFF
00000206 216D F9EC 3A9C move.l [A0 + 0x3A9C], [A5 - 0x614]
0000020C 2B48 F9EC move.l [A5 - 0x614], A0
00000210 2B48 F9F4 move.l [A5 - 0x60C], A0
00000214 202D F9F0 move.l D0, [A5 - 0x610]
00000218 6606 bne +0x8 /* 00000220 */
0000021A 2008 move.l D0, A0
0000021C 2B40 F9F0 move.l [A5 - 0x610], D0
label00000220:
00000220 2240 movea.l A1, D0
00000222 2348 3A9C move.l [A1 + 0x3A9C], A0
00000226 303C 3A9A move.w D0, 0x3A9A
0000022A 3080 move.w [A0], D0
0000022C 6044 bra +0x46 /* 00000272 */
label0000022E:
0000022E 202E FFF8 move.l D0, [A6 - 0x8]
00000232 B0AE FFFC cmp.l D0, [A6 - 0x4]
00000236 67BC beq -0x42 /* 000001F4 */
00000238 2B40 F9F4 move.l [A5 - 0x60C], D0
0000023C 2B40 F9F8 move.l [A5 - 0x608], D0
label00000240:
00000240 2040 movea.l A0, D0
00000242 74FF moveq.l D2, 0xFFFFFFFF
00000244 6018 bra +0x1A /* 0000025E */
label00000246:
00000246 4640 not.w D0
00000248 660E bne +0x10 /* 00000258 */
0000024A 2D68 0002 FFF8 move.l [A6 - 0x8], [A0 + 0x2]
00000250 206D F9F4 movea.l A0, [A5 - 0x60C]
00000254 242D F9F8 move.l D2, [A5 - 0x608]
label00000258:
00000258 D0C0 add.w A0, D0
0000025A B1C2 cmpa.l A0, D2
0000025C 64D0 bcc -0x2E /* 0000022E */
label0000025E:
0000025E 3010 move.w D0, [A0]
00000260 6BE4 bmi -0x1A /* 00000246 */
00000262 7200 moveq.l D1, 0x00
label00000264:
00000264 D041 add.w D0, D1
00000266 3230 0000 move.w D1, [A0 + D0.w]
0000026A 6AF8 bpl -0x6 /* 00000264 */
0000026C 3080 move.w [A0], D0
0000026E B047 cmp.w D0, D7
00000270 65E6 bcs -0x18 /* 00000258 */
label00000272:
00000272 2248 movea.l A1, A0
00000274 D2C7 add.w A1, D7
00000276 2B49 F9F8 move.l [A5 - 0x608], A1
0000027A 9047 sub.w D0, D7
0000027C 6702 beq +0x4 /* 00000280 */
0000027E 3280 move.w [A1], D0
label00000280:
00000280 4647 not.w D7
00000282 30C7 move.w [A0]+, D7
label00000284:
00000284 2008 move.l D0, A0
00000286 2E1F move.l D7, [A7]+
00000288 4E5E unlink A6
0000028A 4E75 rts
fn0000028C:
0000028C 4E56 0000 link A6, 0
00000290 2F0C move.l -[A7], A4
00000292 0C6D 0021 F9FC cmpi.w [A5 - 0x604], 0x21 /* '!' */
00000298 6F04 ble +0x6 /* 0000029E */
0000029A 70FF moveq.l D0, 0xFFFFFFFF
0000029C 6034 bra +0x36 /* 000002D2 */
label0000029E:
0000029E 302D F9FC move.w D0, [A5 - 0x604]
000002A2 526D F9FC addq.w [A5 - 0x604], 1
000002A6 C1FC 0006 muls.w D0, 0x6
000002AA 49ED FA00 lea.l A4, [A5 - 0x600]
000002AE D08C add.l D0, A4
000002B0 2840 movea.l A4, D0
000002B2 28AE 0008 move.l [A4], [A6 + 0x8]
000002B6 4EBA 01C4 jsr [PC + 0x1C4 /* 0000047C */]
000002BA 4AAD FACC tst.l [A5 - 0x534]
000002BE 6610 bne +0x12 /* 000002D0 */
000002C0 206D 006C movea.l A0, [A5 + 0x6C]
000002C4 2B48 FACC move.l [A5 - 0x534], A0
000002C8 41ED 0072 lea.l A0, [A5 + 0x72 /* export_10 */]
000002CC 2B48 006C move.l [A5 + 0x6C], A0
label000002D0:
000002D0 7000 moveq.l D0, 0x00
label000002D2:
000002D2 285F movea.l A4, [A7]+
000002D4 4E5E unlink A6
000002D6 4E75 rts
fn000002D8:
000002D8 4E56 0000 link A6, 0
000002DC 48E7 0018 movem.l -[A7], A3,A4
000002E0 0C6D 0021 F9FC cmpi.w [A5 - 0x604], 0x21 /* '!' */
000002E6 6F04 ble +0x6 /* 000002EC */
000002E8 70FF moveq.l D0, 0xFFFFFFFF
000002EA 6064 bra +0x66 /* 00000350 */
label000002EC:
000002EC 302D F9FC move.w D0, [A5 - 0x604]
000002F0 526D F9FC addq.w [A5 - 0x604], 1
000002F4 C1FC 0006 muls.w D0, 0x6
000002F8 49ED FA00 lea.l A4, [A5 - 0x600]
000002FC D08C add.l D0, A4
000002FE 2840 movea.l A4, D0
00000300 28AE 0008 move.l [A4], [A6 + 0x8]
00000304 397C 0001 0004 move.w [A4 + 0x4], 0x1
0000030A 4EBA 0170 jsr [PC + 0x170 /* 0000047C */]
0000030E 4AAD FAD0 tst.l [A5 - 0x530]
00000312 663A bne +0x3C /* 0000034E */
00000314 303C A9F4 move.w D0, 0xA9F4
00000318 A146 syscall GetTrapAddress, flags=1
0000031A 2B48 FAD0 move.l [A5 - 0x530], A0
0000031E 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000322 6D0C blt +0xE /* 00000330 */
00000324 41ED 007A lea.l A0, [A5 + 0x7A /* export_11 */]
00000328 303C A9F4 move.w D0, 0xA9F4
0000032C A047 syscall SetTrapAddress
0000032E 601E bra +0x20 /* 0000034E */
label00000330:
00000330 7006 moveq.l D0, 0x06
00000332 A51E syscall NewPtrSys, flags=5
00000334 2648 movea.l A3, A0
00000336 36BC 4EF9 move.w [A3], 0x4EF9
0000033A 41ED 007A lea.l A0, [A5 + 0x7A /* export_11 */]
0000033E 2748 0002 move.l [A3 + 0x2], A0
00000342 2B4B FAD4 move.l [A5 - 0x52C], A3
00000346 303C A9F4 move.w D0, 0xA9F4
0000034A 204B movea.l A0, A3
0000034C A047 syscall SetTrapAddress
label0000034E:
0000034E 7000 moveq.l D0, 0x00
label00000350:
00000350 4CDF 1800 movem.l A3,A4, [A7]+
00000354 4E5E unlink A6
00000356 4E75 rts
fn00000358:
00000358 4E56 0000 link A6, 0
0000035C 2F07 move.l -[A7], D7
0000035E 3E2D F9FC move.w D7, [A5 - 0x604]
00000362 3B7C 0001 F9FC move.w [A5 - 0x604], 0x1
00000368 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000036C 4EBA FF1E jsr [PC - 0xE2 /* 0000028C */]
00000370 3B47 F9FC move.w [A5 - 0x604], D7
00000374 2E2E FFFC move.l D7, [A6 - 0x4]
00000378 4E5E unlink A6
0000037A 4E75 rts
fn0000037C:
0000037C 4E56 0000 link A6, 0
00000380 2F07 move.l -[A7], D7
00000382 3E2D F9FC move.w D7, [A5 - 0x604]
00000386 426D F9FC clr.w [A5 - 0x604]
0000038A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000038E 4EBA FF48 jsr [PC - 0xB8 /* 000002D8 */]
00000392 3B47 F9FC move.w [A5 - 0x604], D7
00000396 2E2E FFFC move.l D7, [A6 - 0x4]
0000039A 4E5E unlink A6
0000039C 4E75 rts
fn0000039E:
0000039E 4E56 0000 link A6, 0
000003A2 206D 006C movea.l A0, [A5 + 0x6C]
000003A6 4E90 jsr [A0]
000003A8 A9F4 syscall ExitToShell
000003AA 4E5E unlink A6
000003AC 4E75 rts
fn000003AE:
000003AE 4E56 0000 link A6, 0
000003B2 A9F4 syscall ExitToShell
000003B4 4E5E unlink A6
000003B6 4E75 rts
export_10:
000003B8 3F3C 0001 move.w -[A7], 0x1
000003BC 4EBA 0012 jsr [PC + 0x12 /* 000003D0 */]
000003C0 548F addq.l A7, 2
000003C2 4E75 rts
export_11:
000003C4 4267 clr.w -[A7]
000003C6 4EBA 0008 jsr [PC + 0x8 /* 000003D0 */]
000003CA A9F4 syscall ExitToShell
000003CC 548F addq.l A7, 2
000003CE 4E75 rts
fn000003D0:
000003D0 4E56 0000 link A6, 0
000003D4 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000003D8 49ED FACC lea.l A4, [A5 - 0x534]
000003DC 4EBA 00A6 jsr [PC + 0xA6 /* 00000484 */]
000003E0 2C00 move.l D6, D0
000003E2 4A86 tst.l D6
000003E4 6706 beq +0x8 /* 000003EC */
000003E6 4EBA 009C jsr [PC + 0x9C /* 00000484 */]
000003EA C18D exg D0, A5
label000003EC:
000003EC 4A6E 0008 tst.w [A6 + 0x8]
000003F0 6606 bne +0x8 /* 000003F8 */
000003F2 3B7C 0001 F9FE move.w [A5 - 0x602], 0x1
label000003F8:
000003F8 49ED FACC lea.l A4, [A5 - 0x534]
000003FC 7E22 moveq.l D7, 0x22
000003FE 6018 bra +0x1A /* 00000418 */
label00000400:
00000400 5D8C subq.l A4, 6
00000402 2654 movea.l A3, [A4]
00000404 200B move.l D0, A3
00000406 6710 beq +0x12 /* 00000418 */
00000408 4294 clr.l [A4]
0000040A 4A6E 0008 tst.w [A6 + 0x8]
0000040E 6606 bne +0x8 /* 00000416 */
00000410 4A6C 0004 tst.w [A4 + 0x4]
00000414 6702 beq +0x4 /* 00000418 */
label00000416:
00000416 4E93 jsr [A3]
label00000418:
00000418 3007 move.w D0, D7
0000041A 5347 subq.w D7, 1
0000041C 4A40 tst.w D0
0000041E 66E0 bne -0x1E /* 00000400 */
00000420 4AAD FAD4 tst.l [A5 - 0x52C]
00000424 670A beq +0xC /* 00000430 */
00000426 206D FAD4 movea.l A0, [A5 - 0x52C]
0000042A A01F syscall DisposPtr/DisposePtr
0000042C 42AD FAD4 clr.l [A5 - 0x52C]
label00000430:
00000430 4AAD FAD0 tst.l [A5 - 0x530]
00000434 670E beq +0x10 /* 00000444 */
00000436 303C A9F4 move.w D0, 0xA9F4
0000043A 206D FAD0 movea.l A0, [A5 - 0x530]
0000043E A047 syscall SetTrapAddress
00000440 42AD FAD0 clr.l [A5 - 0x530]
label00000444:
00000444 4AAD FACC tst.l [A5 - 0x534]
00000448 6708 beq +0xA /* 00000452 */
0000044A 206D FACC movea.l A0, [A5 - 0x534]
0000044E 4E90 jsr [A0]
00000450 6006 bra +0x8 /* 00000458 */
label00000452:
00000452 206D 006C movea.l A0, [A5 + 0x6C]
00000456 4E90 jsr [A0]
label00000458:
00000458 41ED 0082 lea.l A0, [A5 + 0x82 /* export_12 */]
0000045C 2B48 FACC move.l [A5 - 0x534], A0
00000460 4A86 tst.l D6
00000462 6704 beq +0x6 /* 00000468 */
00000464 2006 move.l D0, D6
00000466 C18D exg D0, A5
label00000468:
00000468 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000046C 4E5E unlink A6
0000046E 4E75 rts
export_12:
00000470 4E75 rts
fn00000472:
00000472 6104 bsr +0x6 /* 00000478 */
00000474 0000 0000 ori.b D0, 0x0
fn00000478:
00000478 225F movea.l A1, [A7]+
0000047A 4E75 rts
fn0000047C:
0000047C 4EBA FFF4 jsr [PC - 0xC /* 00000472 */]
00000480 228D move.l [A1], A5
00000482 4E75 rts
fn00000484:
00000484 4EBA FFEC jsr [PC - 0x14 /* 00000472 */]
00000488 2011 move.l D0, [A1]
0000048A 4E75 rts
fn0000048C:
0000048C 4E56 0000 link A6, 0
00000490 2F0C move.l -[A7], A4
00000492 286E 0008 movea.l A4, [A6 + 0x8]
00000496 42AC 0012 clr.l [A4 + 0x12]
0000049A 2F0C move.l -[A7], A4
0000049C 4EBA 3F72 jsr [PC + 0x3F72 /* 00004410 */]
000004A0 4A2C 0001 tst.b [A4 + 0x1]
000004A4 588F addq.l A7, 4
000004A6 6A1A bpl +0x1C /* 000004C2 */
000004A8 202C 000A move.l D0, [A4 + 0xA]
000004AC 2940 0012 move.l [A4 + 0x12], D0
000004B0 D1AC 0016 add.l [A4 + 0x16], D0
000004B4 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
000004BA 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
000004C0 6016 bra +0x18 /* 000004D8 */
label000004C2:
000004C2 2F0C move.l -[A7], A4
000004C4 4EBA 00CC jsr [PC + 0xCC /* 00000592 */]
000004C8 2E8C move.l [A7], A4
000004CA 4EBA 40BC jsr [PC + 0x40BC /* 00004588 */]
000004CE 4A40 tst.w D0
000004D0 588F addq.l A7, 4
000004D2 6704 beq +0x6 /* 000004D8 */
000004D4 70FF moveq.l D0, 0xFFFFFFFF
000004D6 6010 bra +0x12 /* 000004E8 */
label000004D8:
000004D8 53AC 0012 subq.l [A4 + 0x12], 1
000004DC 206C 000E movea.l A0, [A4 + 0xE]
000004E0 52AC 000E addq.l [A4 + 0xE], 1
000004E4 7000 moveq.l D0, 0x00
000004E6 1010 move.b D0, [A0]
label000004E8:
000004E8 285F movea.l A4, [A7]+
000004EA 4E5E unlink A6
000004EC 4E75 rts
fn000004EE:
000004EE 4E56 0000 link A6, 0
000004F2 48E7 0108 movem.l -[A7], D7,A4
000004F6 3E2E 0008 move.w D7, [A6 + 0x8]
000004FA 286E 000A movea.l A4, [A6 + 0xA]
000004FE 0814 0003 btst.b [A4], 0x3
00000502 6642 bne +0x44 /* 00000546 */
00000504 2F0C move.l -[A7], A4
00000506 4EBA 3F08 jsr [PC + 0x3F08 /* 00004410 */]
0000050A 0814 0001 btst.b [A4], 0x1
0000050E 588F addq.l A7, 4
00000510 6706 beq +0x8 /* 00000518 */
00000512 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label00000518:
00000518 2F0C move.l -[A7], A4
0000051A 4EBA 0076 jsr [PC + 0x76 /* 00000592 */]
0000051E 4AAC 001E tst.l [A4 + 0x1E]
00000522 588F addq.l A7, 4
00000524 6706 beq +0x8 /* 0000052C */
00000526 7001 moveq.l D0, 0x01
00000528 2940 0012 move.l [A4 + 0x12], D0
label0000052C:
0000052C 08D4 0003 bset.b [A4], 0x3
00000530 53AC 0012 subq.l [A4 + 0x12], 1
00000534 6710 beq +0x12 /* 00000546 */
00000536 206C 000E movea.l A0, [A4 + 0xE]
0000053A 52AC 000E addq.l [A4 + 0xE], 1
0000053E 1087 move.b [A0], D7
00000540 7000 moveq.l D0, 0x00
00000542 1007 move.b D0, D7
00000544 6044 bra +0x46 /* 0000058A */
label00000546:
00000546 7000 moveq.l D0, 0x00
00000548 1007 move.b D0, D7
0000054A 3E00 move.w D7, D0
0000054C 206C 000E movea.l A0, [A4 + 0xE]
00000550 52AC 000E addq.l [A4 + 0xE], 1
00000554 1080 move.b [A0], D0
00000556 4AAC 001E tst.l [A4 + 0x1E]
0000055A 671C beq +0x1E /* 00000578 */
0000055C 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00000560 6D16 blt +0x18 /* 00000578 */
00000562 202C 000E move.l D0, [A4 + 0xE]
00000566 90AC 0006 sub.l D0, [A4 + 0x6]
0000056A B0AC 000A cmp.l D0, [A4 + 0xA]
0000056E 6408 bcc +0xA /* 00000578 */
00000570 7001 moveq.l D0, 0x01
00000572 2940 0012 move.l [A4 + 0x12], D0
00000576 6010 bra +0x12 /* 00000588 */
label00000578:
00000578 2F0C move.l -[A7], A4
0000057A 4EBA 0058 jsr [PC + 0x58 /* 000005D4 */]
0000057E 4A40 tst.w D0
00000580 588F addq.l A7, 4
00000582 6704 beq +0x6 /* 00000588 */
00000584 70FF moveq.l D0, 0xFFFFFFFF
00000586 6002 bra +0x4 /* 0000058A */
label00000588:
00000588 3007 move.w D0, D7
label0000058A:
0000058A 4CDF 1080 movem.l D7,A4, [A7]+
0000058E 4E5E unlink A6
00000590 4E75 rts
fn00000592:
00000592 4E56 0000 link A6, 0
00000596 2F0C move.l -[A7], A4
00000598 286E 0008 movea.l A4, [A6 + 0x8]
0000059C 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
000005A2 296C 000A 0012 move.l [A4 + 0x12], [A4 + 0xA]
000005A8 4A6C 0004 tst.w [A4 + 0x4]
000005AC 6F18 ble +0x1A /* 000005C6 */
000005AE 7001 moveq.l D0, 0x01
000005B0 B0AC 000A cmp.l D0, [A4 + 0xA]
000005B4 6410 bcc +0x12 /* 000005C6 */
000005B6 2F2C 000A move.l -[A7], [A4 + 0xA]
000005BA 2F2C 0016 move.l -[A7], [A4 + 0x16]
000005BE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000005C2 91AC 0012 sub.l [A4 + 0x12], D0
label000005C6:
000005C6 202C 0012 move.l D0, [A4 + 0x12]
000005CA D1AC 0016 add.l [A4 + 0x16], D0
000005CE 285F movea.l A4, [A7]+
000005D0 4E5E unlink A6
000005D2 4E75 rts
fn000005D4:
000005D4 4E56 0000 link A6, 0
000005D8 48E7 0108 movem.l -[A7], D7,A4
000005DC 286E 0008 movea.l A4, [A6 + 0x8]
000005E0 7E00 moveq.l D7, 0x00
000005E2 202C 0012 move.l D0, [A4 + 0x12]
000005E6 91AC 0016 sub.l [A4 + 0x16], D0
000005EA 0814 0003 btst.b [A4], 0x3
000005EE 6720 beq +0x22 /* 00000610 */
000005F0 202C 000E move.l D0, [A4 + 0xE]
000005F4 90AC 0006 sub.l D0, [A4 + 0x6]
000005F8 2940 0012 move.l [A4 + 0x12], D0
000005FC 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
00000602 0894 0003 bclr.b [A4], 0x3
00000606 2F0C move.l -[A7], A4
00000608 4EBA 3F96 jsr [PC + 0x3F96 /* 000045A0 */]
0000060C 3E00 move.w D7, D0
0000060E 588F addq.l A7, 4
label00000610:
00000610 2F0C move.l -[A7], A4
00000612 4EBA 000E jsr [PC + 0xE /* 00000622 */]
00000616 3007 move.w D0, D7
00000618 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
0000061E 4E5E unlink A6
00000620 4E75 rts
fn00000622:
00000622 4E56 0000 link A6, 0
00000626 2F0C move.l -[A7], A4
00000628 286E 0008 movea.l A4, [A6 + 0x8]
0000062C 206C 0006 movea.l A0, [A4 + 0x6]
00000630 D1EC 000A add.l A0, [A4 + 0xA]
00000634 2948 000E move.l [A4 + 0xE], A0
00000638 42AC 0012 clr.l [A4 + 0x12]
0000063C 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
00000642 285F movea.l A4, [A7]+
00000644 4E5E unlink A6
00000646 4E75 rts
00000648 4EBA 25E8 jsr [PC + 0x25E8 /* 00002C32 */]
0000064C 2F00 move.l -[A7], D0
0000064E 42A7 clr.l -[A7]
00000650 4EBA 0006 jsr [PC + 0x6 /* 00000658 */]
00000654 508F addq.l A7, 8
00000656 4E75 rts
fn00000658:
00000658 4E56 0000 link A6, 0
0000065C 2F0C move.l -[A7], A4
0000065E 286E 000C movea.l A4, [A6 + 0xC]
00000662 200C move.l D0, A4
00000664 6604 bne +0x6 /* 0000066A */
00000666 7000 moveq.l D0, 0x00
00000668 6052 bra +0x54 /* 000006BC */
label0000066A:
0000066A 4A38 08F2 tst.b [0x000008F2 /* WWExist */]
0000066E 6704 beq +0x6 /* 00000674 */
00000670 4EBA 0366 jsr [PC + 0x366 /* 000009D8 */]
label00000674:
00000674 2F0C move.l -[A7], A4
00000676 4EBA 2772 jsr [PC + 0x2772 /* 00002DEA */]
0000067A 397C FFFF 0004 move.w [A4 + 0x4], 0xFFFF
00000680 4AAE 0008 tst.l [A6 + 0x8]
00000684 588F addq.l A7, 4
00000686 670A beq +0xC /* 00000692 */
00000688 206E 0008 movea.l A0, [A6 + 0x8]
0000068C 2028 001E move.l D0, [A0 + 0x1E]
00000690 6004 bra +0x6 /* 00000696 */
label00000692:
00000692 4EBA 050E jsr [PC + 0x50E /* 00000BA2 */]
label00000696:
00000696 2940 001E move.l [A4 + 0x1E], D0
0000069A 4878 0200 push.l 0x200
0000069E 3F3C 0001 move.w -[A7], 0x1
000006A2 42A7 clr.l -[A7]
000006A4 2F0C move.l -[A7], A4
000006A6 4EBA 2668 jsr [PC + 0x2668 /* 00002D10 */]
000006AA 41ED 008A lea.l A0, [A5 + 0x8A /* export_13 */]
000006AE 2948 0022 move.l [A4 + 0x22], A0
000006B2 486D 0092 pea.l [A5 + 0x92 /* export_14 */]
000006B6 4EBA FCA0 jsr [PC - 0x360 /* 00000358 */]
000006BA 200C move.l D0, A4
label000006BC:
000006BC 286E FFFC movea.l A4, [A6 - 0x4]
000006C0 4E5E unlink A6
000006C2 4E75 rts
000006C4 4E56 FFF8 link A6, -0x0008
000006C8 486E FFF8 pea.l [A6 - 0x8]
000006CC 2F2E 000C move.l -[A7], [A6 + 0xC]
000006D0 4EBA 06C4 jsr [PC + 0x6C4 /* 00000D96 */]
000006D4 2E80 move.l [A7], D0
000006D6 4EBA 0E9A jsr [PC + 0xE9A /* 00001572 */]
000006DA 70FF moveq.l D0, 0xFFFFFFFF
000006DC D06E 0008 add.w D0, [A6 + 0x8]
000006E0 3B40 FB3C move.w [A5 - 0x4C4], D0
000006E4 70FF moveq.l D0, 0xFFFFFFFF
000006E6 D06E 000A add.w D0, [A6 + 0xA]
000006EA 3B40 FB3A move.w [A5 - 0x4C6], D0
000006EE 486E FFF8 pea.l [A6 - 0x8]
000006F2 4EBA 0EEC jsr [PC + 0xEEC /* 000015E0 */]
000006F6 4E5E unlink A6
000006F8 4E75 rts
000006FA 4E56 FFF8 link A6, -0x0008
000006FE 486E FFF8 pea.l [A6 - 0x8]
00000702 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000706 4EBA 068E jsr [PC + 0x68E /* 00000D96 */]
0000070A 2E80 move.l [A7], D0
0000070C 4EBA 0E64 jsr [PC + 0xE64 /* 00001572 */]
00000710 7001 moveq.l D0, 0x01
00000712 D06D FB3C add.w D0, [A5 - 0x4C4]
00000716 206E 0008 movea.l A0, [A6 + 0x8]
0000071A 3080 move.w [A0], D0
0000071C 7001 moveq.l D0, 0x01
0000071E D06D FB3A add.w D0, [A5 - 0x4C6]
00000722 226E 000C movea.l A1, [A6 + 0xC]
00000726 3280 move.w [A1], D0
00000728 486E FFF8 pea.l [A6 - 0x8]
0000072C 4EBA 0EB2 jsr [PC + 0xEB2 /* 000015E0 */]
00000730 4E5E unlink A6
00000732 4E75 rts
00000734 4E56 FFF8 link A6, -0x0008
00000738 486E FFF8 pea.l [A6 - 0x8]
0000073C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000740 4EBA 0654 jsr [PC + 0x654 /* 00000D96 */]
00000744 2E80 move.l [A7], D0
00000746 4EBA 0E2A jsr [PC + 0xE2A /* 00001572 */]
0000074A 3EAD FB3A move.w [A7], [A5 - 0x4C6]
0000074E 4EBA 08E2 jsr [PC + 0x8E2 /* 00001032 */]
00000752 486E FFF8 pea.l [A6 - 0x8]
00000756 4EBA 0E88 jsr [PC + 0xE88 /* 000015E0 */]
0000075A 4E5E unlink A6
0000075C 4E75 rts
0000075E 4E56 FFF8 link A6, -0x0008
00000762 486E FFF8 pea.l [A6 - 0x8]
00000766 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000076A 4EBA 062A jsr [PC + 0x62A /* 00000D96 */]
0000076E 2E80 move.l [A7], D0
00000770 4EBA 0E00 jsr [PC + 0xE00 /* 00001572 */]
00000774 4EBA 08FC jsr [PC + 0x8FC /* 00001072 */]
00000778 486E FFF8 pea.l [A6 - 0x8]
0000077C 4EBA 0E62 jsr [PC + 0xE62 /* 000015E0 */]
00000780 4E5E unlink A6
00000782 4E75 rts
00000784 4E56 FFF8 link A6, -0x0008
00000788 2F07 move.l -[A7], D7
0000078A 3E2E 0008 move.w D7, [A6 + 0x8]
0000078E 486E FFF8 pea.l [A6 - 0x8]
00000792 2F2E 000A move.l -[A7], [A6 + 0xA]
00000796 4EBA 05FE jsr [PC + 0x5FE /* 00000D96 */]
0000079A 2E80 move.l [A7], D0
0000079C 4EBA 0DD4 jsr [PC + 0xDD4 /* 00001572 */]
000007A0 0C47 0001 cmpi.w D7, 0x1
000007A4 508F addq.l A7, 8
000007A6 6D06 blt +0x8 /* 000007AE */
000007A8 BE6D FB38 cmp.w D7, [A5 - 0x4C8]
000007AC 6F02 ble +0x4 /* 000007B0 */
label000007AE:
000007AE 7E01 moveq.l D7, 0x01
label000007B0:
000007B0 3B47 FB3E move.w [A5 - 0x4C2], D7
000007B4 486E FFF8 pea.l [A6 - 0x8]
000007B8 4EBA 0E26 jsr [PC + 0xE26 /* 000015E0 */]
000007BC 2E2E FFF4 move.l D7, [A6 - 0xC]
000007C0 4E5E unlink A6
000007C2 4E75 rts
000007C4 4E56 FFF8 link A6, -0x0008
000007C8 486E FFF8 pea.l [A6 - 0x8]
000007CC 2F2E 000A move.l -[A7], [A6 + 0xA]
000007D0 4EBA 05C4 jsr [PC + 0x5C4 /* 00000D96 */]
000007D4 2E80 move.l [A7], D0
000007D6 4EBA 0D9A jsr [PC + 0xD9A /* 00001572 */]
000007DA 08AD 0005 FB58 bclr.b [A5 - 0x4A8], 0x5
000007E0 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
000007E6 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
000007EC 302E 0008 move.w D0, [A6 + 0x8]
000007F0 508F addq.l A7, 8
000007F2 670E beq +0x10 /* 00000802 */
000007F4 6B22 bmi +0x24 /* 00000818 */
000007F6 5740 subq.w D0, 3
000007F8 6718 beq +0x1A /* 00000812 */
000007FA 6A1C bpl +0x1E /* 00000818 */
000007FC 5240 addq.w D0, 1
000007FE 6A18 bpl +0x1A /* 00000818 */
00000800 6008 bra +0xA /* 0000080A */
label00000802:
00000802 08ED 0007 FB58 bset.b [A5 - 0x4A8], 0x7
00000808 600E bra +0x10 /* 00000818 */
label0000080A:
0000080A 08ED 0006 FB58 bset.b [A5 - 0x4A8], 0x6
00000810 6006 bra +0x8 /* 00000818 */
label00000812:
00000812 08ED 0005 FB58 bset.b [A5 - 0x4A8], 0x5
label00000818:
00000818 486E FFF8 pea.l [A6 - 0x8]
0000081C 4EBA 0DC2 jsr [PC + 0xDC2 /* 000015E0 */]
00000820 4E5E unlink A6
00000822 4E75 rts
00000824 4E56 FFF8 link A6, -0x0008
00000828 2F0C move.l -[A7], A4
0000082A 2F2E 000A move.l -[A7], [A6 + 0xA]
0000082E 4EBA 0566 jsr [PC + 0x566 /* 00000D96 */]
00000832 2840 movea.l A4, D0
00000834 486E FFF8 pea.l [A6 - 0x8]
00000838 2F0C move.l -[A7], A4
0000083A 4EBA 0D36 jsr [PC + 0xD36 /* 00001572 */]
0000083E 4A6E 0008 tst.w [A6 + 0x8]
00000842 4FEF 000C lea.l A7, [A7 + 0xC]
00000846 672A beq +0x2C /* 00000872 */
00000848 4AAC 0068 tst.l [A4 + 0x68]
0000084C 661C bne +0x1E /* 0000086A */
0000084E 4878 0034 push.l 0x34 /* '4' */
00000852 4EBA F7AC jsr [PC - 0x854 /* 00000000 */]
00000856 2940 0068 move.l [A4 + 0x68], D0
0000085A 2EAC 0068 move.l [A7], [A4 + 0x68]
0000085E A8EA syscall SetStdProcs
00000860 41ED 009A lea.l A0, [A5 + 0x9A /* export_15 */]
00000864 226C 0068 movea.l A1, [A4 + 0x68]
00000868 2288 move.l [A1], A0
label0000086A:
0000086A 08ED 0003 FB58 bset.b [A5 - 0x4A8], 0x3
00000870 601A bra +0x1C /* 0000088C */
label00000872:
00000872 4AAC 0068 tst.l [A4 + 0x68]
00000876 670E beq +0x10 /* 00000886 */
00000878 2F2C 0068 move.l -[A7], [A4 + 0x68]
0000087C 4EBA F944 jsr [PC - 0x6BC /* 000001C2 */]
00000880 42AC 0068 clr.l [A4 + 0x68]
00000884 588F addq.l A7, 4
label00000886:
00000886 08AD 0003 FB58 bclr.b [A5 - 0x4A8], 0x3
label0000088C:
0000088C 4267 clr.w -[A7]
0000088E 4EBA 07A2 jsr [PC + 0x7A2 /* 00001032 */]
00000892 486E FFF8 pea.l [A6 - 0x8]
00000896 4EBA 0D48 jsr [PC + 0xD48 /* 000015E0 */]
0000089A 286E FFF4 movea.l A4, [A6 - 0xC]
0000089E 4E5E unlink A6
000008A0 4E75 rts
fn000008A2:
000008A2 4E56 0000 link A6, 0
000008A6 2F0C move.l -[A7], A4
000008A8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000008AC 4EBA 04E8 jsr [PC + 0x4E8 /* 00000D96 */]
000008B0 2840 movea.l A4, D0
000008B2 4297 clr.l [A7]
000008B4 A924 syscall FrontWindow
000008B6 B9DF cmpa.l A4, [A7]+
000008B8 6704 beq +0x6 /* 000008BE */
000008BA 2F0C move.l -[A7], A4
000008BC A91F syscall SelectWindow
label000008BE:
000008BE 2F0C move.l -[A7], A4
000008C0 A915 syscall ShowWindow
000008C2 285F movea.l A4, [A7]+
000008C4 4E5E unlink A6
000008C6 4E75 rts
000008C8 4E56 0000 link A6, 0
000008CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000008D0 4EBA 04C4 jsr [PC + 0x4C4 /* 00000D96 */]
000008D4 2E80 move.l [A7], D0
000008D6 A916 syscall HideWindow
000008D8 4E5E unlink A6
000008DA 4E75 rts
fn000008DC:
000008DC 4E56 FFF8 link A6, -0x0008
000008E0 486E FFF8 pea.l [A6 - 0x8]
000008E4 2F2E 000E move.l -[A7], [A6 + 0xE]
000008E8 4EBA 04AC jsr [PC + 0x4AC /* 00000D96 */]
000008EC 2E80 move.l [A7], D0
000008EE 4EBA 0C82 jsr [PC + 0xC82 /* 00001572 */]
000008F2 4EBA 0484 jsr [PC + 0x484 /* 00000D78 */]
000008F6 4A6E 000C tst.w [A6 + 0xC]
000008FA 508F addq.l A7, 8
000008FC 6708 beq +0xA /* 00000906 */
000008FE 41ED FB7C lea.l A0, [A5 - 0x484]
00000902 2008 move.l D0, A0
00000904 6006 bra +0x8 /* 0000090C */
label00000906:
00000906 41ED FB7E lea.l A0, [A5 - 0x482]
0000090A 2008 move.l D0, A0
label0000090C:
0000090C 2F00 move.l -[A7], D0
0000090E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000912 4EBA 1ADA jsr [PC + 0x1ADA /* 000023EE */]
00000916 2B40 FB54 move.l [A5 - 0x4AC], D0
0000091A 08AD 0002 FB58 bclr.b [A5 - 0x4A8], 0x2
00000920 486E FFF8 pea.l [A6 - 0x8]
00000924 4EBA 0CBA jsr [PC + 0xCBA /* 000015E0 */]
00000928 4E5E unlink A6
0000092A 4E75 rts
0000092C 4E56 FFF8 link A6, -0x0008
00000930 486E FFF8 pea.l [A6 - 0x8]
00000934 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000938 4EBA 045C jsr [PC + 0x45C /* 00000D96 */]
0000093C 2E80 move.l [A7], D0
0000093E 4EBA 0C32 jsr [PC + 0xC32 /* 00001572 */]
00000942 4EBA 0434 jsr [PC + 0x434 /* 00000D78 */]
00000946 4EBA 19BA jsr [PC + 0x19BA /* 00002302 */]
0000094A 2B40 FB54 move.l [A5 - 0x4AC], D0
0000094E 08ED 0002 FB58 bset.b [A5 - 0x4A8], 0x2
00000954 486E FFF8 pea.l [A6 - 0x8]
00000958 4EBA 0C86 jsr [PC + 0xC86 /* 000015E0 */]
0000095C 4E5E unlink A6
0000095E 4E75 rts
fn00000960:
00000960 4E56 FFD8 link A6, -0x0028
00000964 2F0C move.l -[A7], A4
00000966 99CC sub.l A4, A4
00000968 4A2D FD26 tst.b [A5 - 0x2DA]
0000096C 6A0E bpl +0x10 /* 0000097C */
0000096E 486D FD26 pea.l [A5 - 0x2DA]
00000972 2F0C move.l -[A7], A4
00000974 4EBA FCE2 jsr [PC - 0x31E /* 00000658 */]
00000978 2840 movea.l A4, D0
0000097A 508F addq.l A7, 8
label0000097C:
0000097C 4A2D FD4C tst.b [A5 - 0x2B4]
00000980 6A0E bpl +0x10 /* 00000990 */
00000982 486D FD4C pea.l [A5 - 0x2B4]
00000986 2F0C move.l -[A7], A4
00000988 4EBA FCCE jsr [PC - 0x332 /* 00000658 */]
0000098C 2840 movea.l A4, D0
0000098E 508F addq.l A7, 8
label00000990:
00000990 4A2D FD72 tst.b [A5 - 0x28E]
00000994 6A0E bpl +0x10 /* 000009A4 */
00000996 486D FD72 pea.l [A5 - 0x28E]
0000099A 2F0C move.l -[A7], A4
0000099C 4EBA FCBA jsr [PC - 0x346 /* 00000658 */]
000009A0 2840 movea.l A4, D0
000009A2 508F addq.l A7, 8
label000009A4:
000009A4 4A2D FB2C tst.b [A5 - 0x4D4]
000009A8 6728 beq +0x2A /* 000009D2 */
000009AA 4878 0910 push.l 0x910
000009AE 486D FB80 pea.l [A5 - 0x480]
000009B2 486E FFD8 pea.l [A6 - 0x28]
000009B6 4EBA 3B40 jsr [PC + 0x3B40 /* 000044F8 */]
000009BA 486D FD4C pea.l [A5 - 0x2B4]
000009BE 3F3C 0001 move.w -[A7], 0x1
000009C2 486E FFD8 pea.l [A6 - 0x28]
000009C6 4EBA FF14 jsr [PC - 0xEC /* 000008DC */]
000009CA 426D FAEC clr.w [A5 - 0x514]
000009CE 4FEF 0016 lea.l A7, [A7 + 0x16]
label000009D2:
000009D2 285F movea.l A4, [A7]+
000009D4 4E5E unlink A6
000009D6 4E75 rts
fn000009D8:
000009D8 48E7 0108 movem.l -[A7], D7,A4
000009DC 4A78 028E tst.w [0x0000028E /* ROM85 */]
000009E0 6D02 blt +0x4 /* 000009E4 */
000009E2 A063 syscall MaxApplZone
label000009E4:
000009E4 7E00 moveq.l D7, 0x00
000009E6 6004 bra +0x6 /* 000009EC */
label000009E8:
000009E8 A036 syscall MoreMasters
000009EA 5247 addq.w D7, 1
label000009EC:
000009EC 0C47 000A cmpi.w D7, 0xA /* '\n' */
000009F0 6DF6 blt -0x8 /* 000009E8 */
000009F2 203C 0000 00CE move.l D0, 0xCE
000009F8 A11E syscall NewPtr, flags=1
000009FA 4868 00CA pea.l [A0 + 0xCA]
000009FE A86E syscall InitGraf
00000A00 A8FE syscall InitFonts
00000A02 A912 syscall InitWindows
00000A04 A9CC syscall TEInit
00000A06 42A7 clr.l -[A7]
00000A08 A97B syscall InitDialogs
00000A0A A930 syscall InitMenus
00000A0C 42A7 clr.l -[A7]
00000A0E 3F3C 0001 move.w -[A7], 0x1
00000A12 486D FB88 pea.l [A5 - 0x478]
00000A16 A931 syscall NewMenu
00000A18 201F move.l D0, [A7]+
00000A1A 2B40 FB60 move.l [A5 - 0x4A0], D0
00000A1E 2F00 move.l -[A7], D0
00000A20 4267 clr.w -[A7]
00000A22 A935 syscall InsertMenu
00000A24 2F2D FB60 move.l -[A7], [A5 - 0x4A0]
00000A28 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00000A2E A94D syscall AppendResMenu/AddResMenu
00000A30 42A7 clr.l -[A7]
00000A32 3F3C 0002 move.w -[A7], 0x2
00000A36 486D FB8A pea.l [A5 - 0x476]
00000A3A A931 syscall NewMenu
00000A3C 285F movea.l A4, [A7]+
00000A3E 2F0C move.l -[A7], A4
00000A40 4267 clr.w -[A7]
00000A42 A935 syscall InsertMenu
00000A44 2F0C move.l -[A7], A4
00000A46 486D FB90 pea.l [A5 - 0x470]
00000A4A A933 syscall AppendMenu
00000A4C 42A7 clr.l -[A7]
00000A4E 3F3C 0003 move.w -[A7], 0x3
00000A52 486D FB98 pea.l [A5 - 0x468]
00000A56 A931 syscall NewMenu
00000A58 285F movea.l A4, [A7]+
00000A5A 2F0C move.l -[A7], A4
00000A5C 4267 clr.w -[A7]
00000A5E A935 syscall InsertMenu
00000A60 2F0C move.l -[A7], A4
00000A62 486D FB9E pea.l [A5 - 0x462]
00000A66 A933 syscall AppendMenu
00000A68 A937 syscall DrawMenuBar
00000A6A 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000A70 201F move.l D0, [A7]+
00000A72 A032 syscall FlushEvents
00000A74 A850 syscall InitCursor
00000A76 1B7C 0001 FB5A move.b [A5 - 0x4A6], 0x1
00000A7C 4CDF 1080 movem.l D7,A4, [A7]+
00000A80 4E75 rts
fn00000A82:
00000A82 4E56 FEE8 link A6, -0x0118
00000A86 2F07 move.l -[A7], D7
00000A88 4AAD FB48 tst.l [A5 - 0x4B8]
00000A8C 6746 beq +0x48 /* 00000AD4 */
00000A8E 206D FB48 movea.l A0, [A5 - 0x4B8]
00000A92 202D FB4C move.l D0, [A5 - 0x4B4]
00000A96 52AD FB4C addq.l [A5 - 0x4B4], 1
00000A9A D090 add.l D0, [A0]
00000A9C 2040 movea.l A0, D0
00000A9E 7E00 moveq.l D7, 0x00
00000AA0 1E10 move.b D7, [A0]
00000AA2 202D FB4C move.l D0, [A5 - 0x4B4]
00000AA6 B0AD FB50 cmp.l D0, [A5 - 0x4B0]
00000AAA 660A bne +0xC /* 00000AB6 */
00000AAC 206D FB48 movea.l A0, [A5 - 0x4B8]
00000AB0 A023 syscall DisposHandle/DisposeHandle
00000AB2 42AD FB48 clr.l [A5 - 0x4B8]
label00000AB6:
00000AB6 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00000ABC 6704 beq +0x6 /* 00000AC2 */
00000ABE 0247 007F andi.w D7, 0x7F
label00000AC2:
00000AC2 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
00000AC6 6602 bne +0x4 /* 00000ACA */
00000AC8 7E20 moveq.l D7, 0x20
label00000ACA:
00000ACA 3F07 move.w -[A7], D7
00000ACC 4EBA 1154 jsr [PC + 0x1154 /* 00001C22 */]
00000AD0 6000 00C8 bra +0xCA /* 00000B9A */
label00000AD4:
00000AD4 A9B4 syscall SystemTask
00000AD6 4238 015C clr.b [0x0000015C /* SEvtEnb */]
00000ADA 4227 clr.b -[A7]
00000ADC 3F3C FFFF move.w -[A7], 0xFFFF
00000AE0 486E FFF0 pea.l [A6 - 0x10]
00000AE4 A970 syscall GetNextEvent
00000AE6 4A1F tst.b [A7]+
00000AE8 6710 beq +0x12 /* 00000AFA */
00000AEA 4227 clr.b -[A7]
00000AEC 486E FFF0 pea.l [A6 - 0x10]
00000AF0 A9B2 syscall SystemEvent
00000AF2 4A1F tst.b [A7]+
00000AF4 671C beq +0x1E /* 00000B12 */
00000AF6 6000 00A2 bra +0xA4 /* 00000B9A */
label00000AFA:
00000AFA 4A6E FFF0 tst.w [A6 - 0x10]
00000AFE 6600 009A bne +0x9C /* 00000B9A */
00000B02 42A7 clr.l -[A7]
00000B04 A924 syscall FrontWindow
00000B06 4A9F tst.l [A7]+
00000B08 6600 0090 bne +0x92 /* 00000B9A */
00000B0C A850 syscall InitCursor
00000B0E 6000 008A bra +0x8C /* 00000B9A */
label00000B12:
00000B12 0C6E 0001 FFF0 cmpi.w [A6 - 0x10], 0x1
00000B18 6600 0080 bne +0x82 /* 00000B9A */
00000B1C 4267 clr.w -[A7]
00000B1E 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000B22 486E FFEC pea.l [A6 - 0x14]
00000B26 A92C syscall FindWindow
00000B28 301F move.w D0, [A7]+
00000B2A 676E beq +0x70 /* 00000B9A */
00000B2C 6B6C bmi +0x6E /* 00000B9A */
00000B2E 5540 subq.w D0, 2
00000B30 6712 beq +0x14 /* 00000B44 */
00000B32 6A66 bpl +0x68 /* 00000B9A */
00000B34 A850 syscall InitCursor
00000B36 42A7 clr.l -[A7]
00000B38 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000B3C A93D syscall MenuSelect
00000B3E 2D5F FFE8 move.l [A6 - 0x18], [A7]+
00000B42 600C bra +0xE /* 00000B50 */
label00000B44:
00000B44 486E FFF0 pea.l [A6 - 0x10]
00000B48 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000B4C A9B3 syscall SystemClick
00000B4E 604A bra +0x4C /* 00000B9A */
label00000B50:
00000B50 302E FFE8 move.w D0, [A6 - 0x18]
00000B54 6740 beq +0x42 /* 00000B96 */
00000B56 6B3E bmi +0x40 /* 00000B96 */
00000B58 5740 subq.w D0, 3
00000B5A 672C beq +0x2E /* 00000B88 */
00000B5C 6A38 bpl +0x3A /* 00000B96 */
00000B5E 5240 addq.w D0, 1
00000B60 6A1A bpl +0x1C /* 00000B7C */
00000B62 2F2D FB60 move.l -[A7], [A5 - 0x4A0]
00000B66 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000B6A 486E FEE8 pea.l [A6 - 0x118]
00000B6E A946 syscall GetMenuItemText/GetItem
00000B70 4267 clr.w -[A7]
00000B72 486E FEE8 pea.l [A6 - 0x118]
00000B76 A9B6 syscall OpenDeskAcc
00000B78 548F addq.l A7, 2
00000B7A 601A bra +0x1C /* 00000B96 */
label00000B7C:
00000B7C 426D FAEC clr.w [A5 - 0x514]
00000B80 4267 clr.w -[A7]
00000B82 4EBA F81A jsr [PC - 0x7E6 /* 0000039E */]
00000B86 548F addq.l A7, 2
label00000B88:
00000B88 4227 clr.b -[A7]
00000B8A 70FF moveq.l D0, 0xFFFFFFFF
00000B8C D06E FFEA add.w D0, [A6 - 0x16]
00000B90 3F00 move.w -[A7], D0
00000B92 A9C2 syscall SysEdit
00000B94 548F addq.l A7, 2
label00000B96:
00000B96 4267 clr.w -[A7]
00000B98 A938 syscall HiliteMenu
label00000B9A:
00000B9A 2E2E FEE4 move.l D7, [A6 - 0x11C]
00000B9E 4E5E unlink A6
00000BA0 4E75 rts
fn00000BA2:
00000BA2 4E56 FFE8 link A6, -0x0018
00000BA6 48E7 0018 movem.l -[A7], A3,A4
00000BAA 486E FFFC pea.l [A6 - 0x4]
00000BAE A874 syscall GetPort
00000BB0 42A7 clr.l -[A7]
00000BB2 4EBA 0A54 jsr [PC + 0xA54 /* 00001608 */]
00000BB6 588F addq.l A7, 4
00000BB8 42A7 clr.l -[A7]
00000BBA 42A7 clr.l -[A7]
00000BBC 486D FB18 pea.l [A5 - 0x4E8]
00000BC0 2F2D FADC move.l -[A7], [A5 - 0x524]
00000BC4 4227 clr.b -[A7]
00000BC6 3F2D FAE0 move.w -[A7], [A5 - 0x520]
00000BCA 4878 FFFF push.l 0xFFFF
00000BCE 4227 clr.b -[A7]
00000BD0 42A7 clr.l -[A7]
00000BD2 A913 syscall NewWindow
00000BD4 285F movea.l A4, [A7]+
00000BD6 2F0C move.l -[A7], A4
00000BD8 3F2D FADA move.w -[A7], [A5 - 0x526]
00000BDC 3F2D FAD8 move.w -[A7], [A5 - 0x528]
00000BE0 4227 clr.b -[A7]
00000BE2 A91B syscall MoveWindow
00000BE4 2B4C FB2E move.l [A5 - 0x4D2], A4
00000BE8 2F0C move.l -[A7], A4
00000BEA A873 syscall SetPort
00000BEC 3F2D FAE2 move.w -[A7], [A5 - 0x51E]
00000BF0 A887 syscall TextFont
00000BF2 3F2D FAE4 move.w -[A7], [A5 - 0x51C]
00000BF6 A88A syscall TextSize
00000BF8 3F2D FAE6 move.w -[A7], [A5 - 0x51A]
00000BFC A888 syscall TextFace
00000BFE 486E FFE8 pea.l [A6 - 0x18]
00000C02 A88B syscall GetFontInfo
00000C04 302E FFE8 move.w D0, [A6 - 0x18]
00000C08 D06E FFEA add.w D0, [A6 - 0x16]
00000C0C D06E FFEE add.w D0, [A6 - 0x12]
00000C10 3B40 FB32 move.w [A5 - 0x4CE], D0
00000C14 3B6E FFEC FB34 move.w [A5 - 0x4CC], [A6 - 0x14]
00000C1A 3B7C 0008 FB3E move.w [A5 - 0x4C2], 0x8
00000C20 08AD 0003 FB58 bclr.b [A5 - 0x4A8], 0x3
00000C26 08AD 0004 FB58 bclr.b [A5 - 0x4A8], 0x4
00000C2C 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
00000C32 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
00000C38 08ED 0005 FB58 bset.b [A5 - 0x4A8], 0x5
00000C3E 42AD FB48 clr.l [A5 - 0x4B8]
00000C42 42AD FB54 clr.l [A5 - 0x4AC]
00000C46 426E FFF2 clr.w [A6 - 0xE]
00000C4A 426E FFF0 clr.w [A6 - 0x10]
00000C4E 302D FAE8 move.w D0, [A5 - 0x518]
00000C52 3B40 FB36 move.w [A5 - 0x4CA], D0
00000C56 C1ED FB32 muls.w D0, [A5 - 0x4CE]
00000C5A 5040 addq.w D0, 8
00000C5C 3D40 FFF4 move.w [A6 - 0xC], D0
00000C60 302D FAEA move.w D0, [A5 - 0x516]
00000C64 3B40 FB38 move.w [A5 - 0x4C8], D0
00000C68 C1ED FB34 muls.w D0, [A5 - 0x4CC]
00000C6C 5040 addq.w D0, 8
00000C6E 3D40 FFF6 move.w [A6 - 0xA], D0
00000C72 2F0C move.l -[A7], A4
00000C74 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000C78 3F2E FFF4 move.w -[A7], [A6 - 0xC]
00000C7C 4227 clr.b -[A7]
00000C7E A91D syscall SizeWindow
00000C80 42A7 clr.l -[A7]
00000C82 486E FFF0 pea.l [A6 - 0x10]
00000C86 486E FFF0 pea.l [A6 - 0x10]
00000C8A A9D2 syscall TENew
00000C8C 2B5F FB40 move.l [A5 - 0x4C0], [A7]+
00000C90 206D FB40 movea.l A0, [A5 - 0x4C0]
00000C94 2050 movea.l A0, [A0]
00000C96 317C FFFF 0048 move.w [A0 + 0x48], 0xFFFF
00000C9C 70FF moveq.l D0, 0xFFFFFFFF
00000C9E D06D FB36 add.w D0, [A5 - 0x4CA]
00000CA2 3B40 FB3A move.w [A5 - 0x4C6], D0
00000CA6 4267 clr.w -[A7]
00000CA8 4EBA 0388 jsr [PC + 0x388 /* 00001032 */]
00000CAC 548F addq.l A7, 2
00000CAE 2B6E FFF4 FB44 move.l [A5 - 0x4BC], [A6 - 0xC]
00000CB4 526D FB44 addq.w [A5 - 0x4BC], 1
00000CB8 526D FB46 addq.w [A5 - 0x4BA], 1
00000CBC 486E FFF0 pea.l [A6 - 0x10]
00000CC0 A870 syscall LocalToGlobal
00000CC2 486E FFF4 pea.l [A6 - 0xC]
00000CC6 A870 syscall LocalToGlobal
00000CC8 206C 0082 movea.l A0, [A4 + 0x82]
00000CCC 2650 movea.l A3, [A0]
00000CCE 276E FFF0 0008 move.l [A3 + 0x8], [A6 - 0x10]
00000CD4 276E FFF4 000C move.l [A3 + 0xC], [A6 - 0xC]
00000CDA 26AB 0008 move.l [A3], [A3 + 0x8]
00000CDE 276B 000C 0004 move.l [A3 + 0x4], [A3 + 0xC]
00000CE4 41ED FB2E lea.l A0, [A5 - 0x4D2]
00000CE8 702C moveq.l D0, 0x2C
00000CEA A9E3 syscall PtrToHand
00000CEC 2948 0098 move.l [A4 + 0x98], A0
00000CF0 4A6D FB5E tst.w [A5 - 0x4A2]
00000CF4 6608 bne +0xA /* 00000CFE */
00000CF6 4EBA 0A9C jsr [PC + 0xA9C /* 00001794 */]
00000CFA 3B40 FB5E move.w [A5 - 0x4A2], D0
label00000CFE:
00000CFE 396D FB5E 006C move.w [A4 + 0x6C], [A5 - 0x4A2]
00000D04 4EBA 080E jsr [PC + 0x80E /* 00001514 */]
00000D08 2F0C move.l -[A7], A4
00000D0A A915 syscall ShowWindow
00000D0C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000D10 A873 syscall SetPort
00000D12 200C move.l D0, A4
00000D14 4CDF 1800 movem.l A3,A4, [A7]+
00000D18 4E5E unlink A6
00000D1A 4E75 rts
fn00000D1C:
00000D1C 48E7 0308 movem.l -[A7], D6,D7,A4
00000D20 7E00 moveq.l D7, 0x00
00000D22 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000D26 7C0F moveq.l D6, 0x0F
00000D28 6016 bra +0x18 /* 00000D40 */
label00000D2A:
00000D2A 202C 001E move.l D0, [A4 + 0x1E]
00000D2E B0AD FB2E cmp.l D0, [A5 - 0x4D2]
00000D32 6608 bne +0xA /* 00000D3C */
00000D34 3007 move.w D0, D7
00000D36 5247 addq.w D7, 1
00000D38 4A40 tst.w D0
00000D3A 6636 bne +0x38 /* 00000D72 */
label00000D3C:
00000D3C 49EC 0026 lea.l A4, [A4 + 0x26]
label00000D40:
00000D40 3006 move.w D0, D6
00000D42 5346 subq.w D6, 1
00000D44 4A40 tst.w D0
00000D46 66E2 bne -0x1C /* 00000D2A */
00000D48 4EBA 002E jsr [PC + 0x2E /* 00000D78 */]
00000D4C 4AAD FB48 tst.l [A5 - 0x4B8]
00000D50 6706 beq +0x8 /* 00000D58 */
00000D52 206D FB48 movea.l A0, [A5 - 0x4B8]
00000D56 A023 syscall DisposHandle/DisposeHandle
label00000D58:
00000D58 206D FB2E movea.l A0, [A5 - 0x4D2]
00000D5C 2068 0098 movea.l A0, [A0 + 0x98]
00000D60 A023 syscall DisposHandle/DisposeHandle
00000D62 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00000D66 A9CD syscall TEDispose
00000D68 2F2D FB2E move.l -[A7], [A5 - 0x4D2]
00000D6C A914 syscall DisposeWindow
00000D6E 42AD FB2E clr.l [A5 - 0x4D2]
label00000D72:
00000D72 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000D76 4E75 rts
fn00000D78:
00000D78 4AAD FB54 tst.l [A5 - 0x4AC]
00000D7C 6716 beq +0x18 /* 00000D94 */
00000D7E 082D 0002 FB58 btst.b [A5 - 0x4A8], 0x2
00000D84 6704 beq +0x6 /* 00000D8A */
00000D86 4EBA 11C0 jsr [PC + 0x11C0 /* 00001F48 */]
label00000D8A:
00000D8A 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
00000D8E 4EBA 205A jsr [PC + 0x205A /* 00002DEA */]
00000D92 588F addq.l A7, 4
label00000D94:
00000D94 4E75 rts
fn00000D96:
00000D96 4E56 0000 link A6, 0
00000D9A 48E7 0118 movem.l -[A7], D7,A3,A4
00000D9E 286E 0008 movea.l A4, [A6 + 0x8]
00000DA2 2F0C move.l -[A7], A4
00000DA4 4EBA 366A jsr [PC + 0x366A /* 00004410 */]
00000DA8 2040 movea.l A0, D0
00000DAA 2668 001E movea.l A3, [A0 + 0x1E]
00000DAE 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000DB2 7E0F moveq.l D7, 0x0F
00000DB4 588F addq.l A7, 4
00000DB6 6018 bra +0x1A /* 00000DD0 */
label00000DB8:
00000DB8 0814 0003 btst.b [A4], 0x3
00000DBC 670E beq +0x10 /* 00000DCC */
00000DBE B7EC 001E cmpa.l A3, [A4 + 0x1E]
00000DC2 6608 bne +0xA /* 00000DCC */
00000DC4 2F0C move.l -[A7], A4
00000DC6 4EBA 1FCE jsr [PC + 0x1FCE /* 00002D96 */]
00000DCA 588F addq.l A7, 4
label00000DCC:
00000DCC 49EC 0026 lea.l A4, [A4 + 0x26]
label00000DD0:
00000DD0 3007 move.w D0, D7
00000DD2 5347 subq.w D7, 1
00000DD4 4A40 tst.w D0
00000DD6 66E0 bne -0x1E /* 00000DB8 */
00000DD8 200B move.l D0, A3
00000DDA 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000DDE 4E5E unlink A6
00000DE0 4E75 rts
export_14:
00000DE2 48E7 0108 movem.l -[A7], D7,A4
00000DE6 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000DEA 7E0F moveq.l D7, 0x0F
00000DEC 6018 bra +0x1A /* 00000E06 */
label00000DEE:
00000DEE 0814 0003 btst.b [A4], 0x3
00000DF2 670E beq +0x10 /* 00000E02 */
00000DF4 4AAC 001E tst.l [A4 + 0x1E]
00000DF8 6708 beq +0xA /* 00000E02 */
00000DFA 2F0C move.l -[A7], A4
00000DFC 4EBA 1F98 jsr [PC + 0x1F98 /* 00002D96 */]
00000E00 588F addq.l A7, 4
label00000E02:
00000E02 49EC 0026 lea.l A4, [A4 + 0x26]
label00000E06:
00000E06 3007 move.w D0, D7
00000E08 5347 subq.w D7, 1
00000E0A 4A40 tst.w D0
00000E0C 66E0 bne -0x1E /* 00000DEE */
00000E0E 4A2D FB5A tst.b [A5 - 0x4A6]
00000E12 674E beq +0x50 /* 00000E62 */
00000E14 4A6D FAEC tst.w [A5 - 0x514]
00000E18 6748 beq +0x4A /* 00000E62 */
00000E1A 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000E1E 7E0F moveq.l D7, 0x0F
00000E20 6038 bra +0x3A /* 00000E5A */
label00000E22:
00000E22 4AAC 001E tst.l [A4 + 0x1E]
00000E26 672E beq +0x30 /* 00000E56 */
00000E28 2F2C 001E move.l -[A7], [A4 + 0x1E]
00000E2C 486D FBC4 pea.l [A5 - 0x43C]
00000E30 A91A syscall SetWTitle
00000E32 08AD 0005 FB58 bclr.b [A5 - 0x4A8], 0x5
00000E38 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
00000E3E 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
00000E44 42A7 clr.l -[A7]
00000E46 2F0C move.l -[A7], A4
00000E48 4EBA 1EA0 jsr [PC + 0x1EA0 /* 00002CEA */]
00000E4C 2E8C move.l [A7], A4
00000E4E 4EBA 1D54 jsr [PC + 0x1D54 /* 00002BA4 */]
00000E52 508F addq.l A7, 8
00000E54 600C bra +0xE /* 00000E62 */
label00000E56:
00000E56 49EC 0026 lea.l A4, [A4 + 0x26]
label00000E5A:
00000E5A 3007 move.w D0, D7
00000E5C 5347 subq.w D7, 1
00000E5E 4A40 tst.w D0
00000E60 66C0 bne -0x3E /* 00000E22 */
label00000E62:
00000E62 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000E66 7E0F moveq.l D7, 0x0F
00000E68 6012 bra +0x14 /* 00000E7C */
label00000E6A:
00000E6A 4AAC 001E tst.l [A4 + 0x1E]
00000E6E 6708 beq +0xA /* 00000E78 */
00000E70 2F0C move.l -[A7], A4
00000E72 4EBA 1F76 jsr [PC + 0x1F76 /* 00002DEA */]
00000E76 588F addq.l A7, 4
label00000E78:
00000E78 49EC 0026 lea.l A4, [A4 + 0x26]
label00000E7C:
00000E7C 3007 move.w D0, D7
00000E7E 5347 subq.w D7, 1
00000E80 4A40 tst.w D0
00000E82 66E6 bne -0x18 /* 00000E6A */
00000E84 4CDF 1080 movem.l D7,A4, [A7]+
00000E88 4E75 rts
export_13:
00000E8A 4E56 FFF8 link A6, -0x0008
00000E8E 48E7 0108 movem.l -[A7], D7,A4
00000E92 286E 0008 movea.l A4, [A6 + 0x8]
00000E96 7E00 moveq.l D7, 0x00
00000E98 4A6D F9FE tst.w [A5 - 0x602]
00000E9C 6706 beq +0x8 /* 00000EA4 */
00000E9E 7000 moveq.l D0, 0x00
00000EA0 6000 0114 bra +0x116 /* 00000FB6 */
label00000EA4:
00000EA4 486E FFF8 pea.l [A6 - 0x8]
00000EA8 2F2C 001E move.l -[A7], [A4 + 0x1E]
00000EAC 4EBA 06C4 jsr [PC + 0x6C4 /* 00001572 */]
00000EB0 302E 000C move.w D0, [A6 + 0xC]
00000EB4 508F addq.l A7, 8
00000EB6 6712 beq +0x14 /* 00000ECA */
00000EB8 6B00 00CA bmi +0xCC /* 00000F84 */
00000EBC 5540 subq.w D0, 2
00000EBE 6700 00B2 beq +0xB4 /* 00000F72 */
00000EC2 6A00 00C0 bpl +0xC2 /* 00000F84 */
00000EC6 6000 009A bra +0x9C /* 00000F62 */
label00000ECA:
00000ECA 202C 000E move.l D0, [A4 + 0xE]
00000ECE 2B40 FB6C move.l [A5 - 0x494], D0
00000ED2 2B40 FB68 move.l [A5 - 0x498], D0
00000ED6 4A2D FB5A tst.b [A5 - 0x4A6]
00000EDA 6770 beq +0x72 /* 00000F4C */
00000EDC 2F0C move.l -[A7], A4
00000EDE 4EBA F9C2 jsr [PC - 0x63E /* 000008A2 */]
00000EE2 08ED 0004 FB58 bset.b [A5 - 0x4A8], 0x4
00000EE8 2B6C 0012 FB70 move.l [A5 - 0x490], [A4 + 0x12]
00000EEE 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00000EF4 588F addq.l A7, 4
00000EF6 6720 beq +0x22 /* 00000F18 */
00000EF8 306D FB3C movea.w A0, [A5 - 0x4C4]
00000EFC 326D FB38 movea.w A1, [A5 - 0x4C8]
00000F00 D1ED FB70 add.l A0, [A5 - 0x490]
00000F04 B3C8 cmpa.l A1, A0
00000F06 6410 bcc +0x12 /* 00000F18 */
00000F08 302D FB38 move.w D0, [A5 - 0x4C8]
00000F0C 906D FB3C sub.w D0, [A5 - 0x4C4]
00000F10 5240 addq.w D0, 1
00000F12 3040 movea.w A0, D0
00000F14 2B48 FB70 move.l [A5 - 0x490], A0
label00000F18:
00000F18 4A2D FB58 tst.b [A5 - 0x4A8]
00000F1C 6A04 bpl +0x6 /* 00000F22 */
00000F1E 7000 moveq.l D0, 0x00
00000F20 6008 bra +0xA /* 00000F2A */
label00000F22:
00000F22 4267 clr.w -[A7]
00000F24 4EBA 04A6 jsr [PC + 0x4A6 /* 000013CC */]
00000F28 548F addq.l A7, 2
label00000F2A:
00000F2A 3B40 FB76 move.w [A5 - 0x48A], D0
00000F2E 3B40 FB74 move.w [A5 - 0x48C], D0
00000F32 0894 0005 bclr.b [A4], 0x5
label00000F36:
00000F36 4EBA FB4A jsr [PC - 0x4B6 /* 00000A82 */]
00000F3A 4AAD FB70 tst.l [A5 - 0x490]
00000F3E 6706 beq +0x8 /* 00000F46 */
00000F40 4A2D FB58 tst.b [A5 - 0x4A8]
00000F44 6AF0 bpl -0xE /* 00000F36 */
label00000F46:
00000F46 08AD 0004 FB58 bclr.b [A5 - 0x4A8], 0x4
label00000F4C:
00000F4C 202D FB6C move.l D0, [A5 - 0x494]
00000F50 90AD FB68 sub.l D0, [A5 - 0x498]
00000F54 2940 0012 move.l [A4 + 0x12], D0
00000F58 662A bne +0x2C /* 00000F84 */
00000F5A 08D4 0005 bset.b [A4], 0x5
00000F5E 7EFF moveq.l D7, 0xFFFFFFFF
00000F60 6022 bra +0x24 /* 00000F84 */
label00000F62:
00000F62 3F2C 0014 move.w -[A7], [A4 + 0x14]
00000F66 2F2C 000E move.l -[A7], [A4 + 0xE]
00000F6A 4EBA 013E jsr [PC + 0x13E /* 000010AA */]
00000F6E 5C8F addq.l A7, 6
00000F70 6012 bra +0x14 /* 00000F84 */
label00000F72:
00000F72 4EBA FDA8 jsr [PC - 0x258 /* 00000D1C */]
00000F76 202C 001E move.l D0, [A4 + 0x1E]
00000F7A B0AE FFF8 cmp.l D0, [A6 - 0x8]
00000F7E 6604 bne +0x6 /* 00000F84 */
00000F80 42AE FFF8 clr.l [A6 - 0x8]
label00000F84:
00000F84 4A2D FB5C tst.b [A5 - 0x4A4]
00000F88 6722 beq +0x24 /* 00000FAC */
00000F8A 422D FB5C clr.b [A5 - 0x4A4]
00000F8E 4878 0008 push.l 0x8
00000F92 201F move.l D0, [A7]+
00000F94 A032 syscall FlushEvents
00000F96 42AC 0012 clr.l [A4 + 0x12]
00000F9A 3F3C 0004 move.w -[A7], 0x4
00000F9E 4EBA 3400 jsr [PC + 0x3400 /* 000043A0 */]
00000FA2 3B7C 0004 FCEA move.w [A5 - 0x316], 0x4
00000FA8 7EFF moveq.l D7, 0xFFFFFFFF
00000FAA 548F addq.l A7, 2
label00000FAC:
00000FAC 486E FFF8 pea.l [A6 - 0x8]
00000FB0 4EBA 062E jsr [PC + 0x62E /* 000015E0 */]
00000FB4 3007 move.w D0, D7
label00000FB6:
00000FB6 4CEE 1080 FFF0 movem.l D7,A4, [A6 - 0x10]
00000FBC 4E5E unlink A6
00000FBE 4E75 rts
export_15:
00000FC0 4E56 FFFE link A6, -0x0002
00000FC4 48E7 0118 movem.l -[A7], D7,A3,A4
00000FC8 3E2E 0014 move.w D7, [A6 + 0x14]
00000FCC 286E 0010 movea.l A4, [A6 + 0x10]
00000FD0 604A bra +0x4C /* 0000101C */
label00000FD2:
00000FD2 264C movea.l A3, A4
label00000FD4:
00000FD4 4A1C tst.b [A4]+
00000FD6 5BCF FFFC dbmi D7, -0x6 /* 00000FD4 */
00000FDA 6A02 bpl +0x4 /* 00000FDE */
00000FDC 538C subq.l A4, 1
label00000FDE:
00000FDE B7CC cmpa.l A3, A4
00000FE0 6412 bcc +0x14 /* 00000FF4 */
00000FE2 200C move.l D0, A4
00000FE4 908B sub.l D0, A3
00000FE6 3F00 move.w -[A7], D0
00000FE8 2F0B move.l -[A7], A3
00000FEA 2F2E 000C move.l -[A7], [A6 + 0xC]
00000FEE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000FF2 A882 syscall StdText
label00000FF4:
00000FF4 4A47 tst.w D7
00000FF6 6D2C blt +0x2E /* 00001024 */
00000FF8 707F moveq.l D0, 0x7F
00000FFA C01C and.b D0, [A4]+
00000FFC 1D40 FFFF move.b [A6 - 0x1], D0
00001000 3F3C 0004 move.w -[A7], 0x4
00001004 A889 syscall TextMode
00001006 3F3C 0001 move.w -[A7], 0x1
0000100A 486E FFFF pea.l [A6 - 0x1]
0000100E 2F2E 000C move.l -[A7], [A6 + 0xC]
00001012 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001016 A882 syscall StdText
00001018 4267 clr.w -[A7]
0000101A A889 syscall TextMode
label0000101C:
0000101C 3007 move.w D0, D7
0000101E 5347 subq.w D7, 1
00001020 4A40 tst.w D0
00001022 66AE bne -0x50 /* 00000FD2 */
label00001024:
00001024 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001028 4E5E unlink A6
0000102A 205F movea.l A0, [A7]+
0000102C 4FEF 000E lea.l A7, [A7 + 0xE]
00001030 4ED0 jmp [A0]
fn00001032:
00001032 4E56 0000 link A6, 0
00001036 302D FB36 move.w D0, [A5 - 0x4CA]
0000103A 906E 0008 sub.w D0, [A6 + 0x8]
0000103E 3040 movea.w A0, D0
00001040 2F08 move.l -[A7], A0
00001042 42A7 clr.l -[A7]
00001044 1F3C 000D move.b -[A7], 0xD /* '\r' */
00001048 4EBA 0328 jsr [PC + 0x328 /* 00001372 */]
0000104C 206D FB40 movea.l A0, [A5 - 0x4C0]
00001050 2050 movea.l A0, [A0]
00001052 3EA8 003C move.w [A7], [A0 + 0x3C]
00001056 206D FB40 movea.l A0, [A5 - 0x4C0]
0000105A 326E 0008 movea.w A1, [A6 + 0x8]
0000105E D3C9 add.l A1, A1
00001060 D3D0 add.l A1, [A0]
00001062 3F29 0060 move.w -[A7], [A1 + 0x60]
00001066 4EBA 0340 jsr [PC + 0x340 /* 000013A8 */]
0000106A 426D FB3C clr.w [A5 - 0x4C4]
0000106E 4E5E unlink A6
00001070 4E75 rts
fn00001072:
00001072 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001076 4EBA 03C4 jsr [PC + 0x3C4 /* 0000143C */]
0000107A 2840 movea.l A4, D0
0000107C 302D FB3A move.w D0, [A5 - 0x4C6]
00001080 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
00001084 D6C0 add.w A3, D0
00001086 3E2D FB3C move.w D7, [A5 - 0x4C4]
0000108A DE53 add.w D7, [A3]
0000108C 7CFF moveq.l D6, 0xFFFFFFFF
0000108E DC6B 0002 add.w D6, [A3 + 0x2]
00001092 BC47 cmp.w D6, D7
00001094 6F0E ble +0x10 /* 000010A4 */
00001096 3947 0020 move.w [A4 + 0x20], D7
0000109A 3946 0022 move.w [A4 + 0x22], D6
0000109E 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000010A2 A9D7 syscall TEDelete
label000010A4:
000010A4 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000010A8 4E75 rts
fn000010AA:
000010AA 4E56 FFFC link A6, -0x0004
000010AE 48E7 0118 movem.l -[A7], D7,A3,A4
000010B2 3E2E 000C move.w D7, [A6 + 0xC]
000010B6 286E 0008 movea.l A4, [A6 + 0x8]
000010BA 6000 00E6 bra +0xE8 /* 000011A2 */
label000010BE:
000010BE 2D4C FFFC move.l [A6 - 0x4], A4
000010C2 7020 moveq.l D0, 0x20
label000010C4:
000010C4 B01C cmp.b D0, [A4]+
000010C6 52CF FFFC dbhi D7, -0x6 /* 000010C4 */
000010CA 6302 bls +0x4 /* 000010CE */
000010CC 538C subq.l A4, 1
label000010CE:
000010CE B9EE FFFC cmpa.l A4, [A6 - 0x4]
000010D2 6312 bls +0x14 /* 000010E6 */
000010D4 200C move.l D0, A4
000010D6 90AE FFFC sub.l D0, [A6 - 0x4]
000010DA 2F00 move.l -[A7], D0
000010DC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000010E0 4EBA 00E0 jsr [PC + 0xE0 /* 000011C2 */]
000010E4 508F addq.l A7, 8
label000010E6:
000010E6 4A47 tst.w D7
000010E8 6D00 00C2 blt +0xC4 /* 000011AC */
000010EC 4A2D FB58 tst.b [A5 - 0x4A8]
000010F0 6B2E bmi +0x30 /* 00001120 */
000010F2 2678 014C movea.l A3, [0x0000014C]
000010F6 6024 bra +0x26 /* 0000111C */
label000010F8:
000010F8 0C6B 0003 0006 cmpi.w [A3 + 0x6], 0x3
000010FE 661A bne +0x1C /* 0000111A */
00001100 0C2B 002E 000B cmpi.b [A3 + 0xB], 0x2E /* '.' */
00001106 6612 bne +0x14 /* 0000111A */
00001108 082B 0000 0014 btst.b [A3 + 0x14], 0x0
0000110E 670A beq +0xC /* 0000111A */
00001110 1B7C 0001 FB5C move.b [A5 - 0x4A4], 0x1
00001116 6000 0094 bra +0x96 /* 000011AC */
label0000111A:
0000111A 2653 movea.l A3, [A3]
label0000111C:
0000111C 200B move.l D0, A3
0000111E 66D8 bne -0x26 /* 000010F8 */
label00001120:
00001120 7000 moveq.l D0, 0x00
00001122 101C move.b D0, [A4]+
00001124 5F40 subq.w D0, 7
00001126 0C40 0006 cmpi.w D0, 0x6
0000112A 6276 bhi +0x78 /* 000011A2 */
0000112C 43FA 0086 lea.l A1, [PC + 0x86 /* 000011B4, value 0xFF84FF8C */]
00001130 D040 add.w D0, D0
00001132 D2F1 0000 add.w A1, [A1 + D0.w]
00001136 4ED1 jmp [A1]
00001138 3F3C 0004 move.w -[A7], 0x4
0000113C A9C8 syscall SysBeep
0000113E 6062 bra +0x64 /* 000011A2 */
00001140 4EBA 02FA jsr [PC + 0x2FA /* 0000143C */]
00001144 4A6D FB3C tst.w [A5 - 0x4C4]
00001148 6758 beq +0x5A /* 000011A2 */
0000114A 536D FB3C subq.w [A5 - 0x4C4], 1
0000114E 6052 bra +0x54 /* 000011A2 */
00001150 426D FB3A clr.w [A5 - 0x4C6]
00001154 4267 clr.w -[A7]
00001156 4EBA FEDA jsr [PC - 0x126 /* 00001032 */]
0000115A 548F addq.l A7, 2
0000115C 6044 bra +0x46 /* 000011A2 */
0000115E 4EBA 0522 jsr [PC + 0x522 /* 00001682 */]
00001162 603E bra +0x40 /* 000011A2 */
00001164 526D FB3A addq.w [A5 - 0x4C6], 1
00001168 302D FB3A move.w D0, [A5 - 0x4C6]
0000116C B06D FB36 cmp.w D0, [A5 - 0x4CA]
00001170 6630 bne +0x32 /* 000011A2 */
00001172 536D FB3A subq.w [A5 - 0x4C6], 1
00001176 602A bra +0x2C /* 000011A2 */
00001178 426D FB3C clr.w [A5 - 0x4C4]
0000117C 6024 bra +0x26 /* 000011A2 */
label0000117E:
0000117E 526D FB3C addq.w [A5 - 0x4C4], 1
00001182 302D FB3C move.w D0, [A5 - 0x4C4]
00001186 48C0 ext.l D0
00001188 81ED FB3E divs.w D0, [A5 - 0x4C2]
0000118C 4840 swap.w D0
0000118E 4A40 tst.w D0
00001190 66EC bne -0x12 /* 0000117E */
00001192 302D FB3C move.w D0, [A5 - 0x4C4]
00001196 B06D FB38 cmp.w D0, [A5 - 0x4C8]
0000119A 6F06 ble +0x8 /* 000011A2 */
0000119C 3B6D FB38 FB3C move.w [A5 - 0x4C4], [A5 - 0x4C8]
label000011A2:
000011A2 3007 move.w D0, D7
000011A4 5347 subq.w D7, 1
000011A6 4A40 tst.w D0
000011A8 6600 FF14 bne -0xEA /* 000010BE */
label000011AC:
000011AC 4CDF 1880 movem.l D7,A3,A4, [A7]+
000011B0 4E5E unlink A6
000011B2 4E75 rts
000011B4 FF84 .invalid <<F/6/7>>
000011B6 FF8C .invalid <<F/6/7>>
000011B8 FFCA .invalid <<F/7/7>>
000011BA FFAA .invalid <<F/6/7>>
000011BC FFB0 .invalid <<F/6/7>>
000011BE FF9C .invalid <<F/6/7>>
000011C0 FFC4 .invalid <<F/7/7>>
fn000011C2:
000011C2 4E56 0000 link A6, 0
000011C6 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000011CA 2E2E 000C move.l D7, [A6 + 0xC]
label000011CE:
000011CE 2C07 move.l D6, D7
000011D0 306D FB38 movea.w A0, [A5 - 0x4C8]
000011D4 326D FB3C movea.w A1, [A5 - 0x4C4]
000011D8 D3C7 add.l A1, D7
000011DA B1C9 cmpa.l A0, A1
000011DC 6C0A bge +0xC /* 000011E8 */
000011DE 3C2D FB38 move.w D6, [A5 - 0x4C8]
000011E2 9C6D FB3C sub.w D6, [A5 - 0x4C4]
000011E6 48C6 ext.l D6
label000011E8:
000011E8 206D FB40 movea.l A0, [A5 - 0x4C0]
000011EC 302D FB3A move.w D0, [A5 - 0x4C6]
000011F0 3840 movea.w A4, D0
000011F2 49F4 0060 lea.l A4, [A4 + D0.w + 0x60]
000011F6 D9D0 add.l A4, [A0]
000011F8 3A2D FB3C move.w D5, [A5 - 0x4C4]
000011FC DA54 add.w D5, [A4]
000011FE 78FF moveq.l D4, 0xFFFFFFFF
00001200 D86C 0002 add.w D4, [A4 + 0x2]
00001204 B845 cmp.w D4, D5
00001206 6C22 bge +0x24 /* 0000122A */
00001208 3005 move.w D0, D5
0000120A 9044 sub.w D0, D4
0000120C 3040 movea.w A0, D0
0000120E 2F08 move.l -[A7], A0
00001210 42A7 clr.l -[A7]
00001212 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
00001216 4EBA 015A jsr [PC + 0x15A /* 00001372 */]
0000121A 3E84 move.w [A7], D4
0000121C 3F04 move.w -[A7], D4
0000121E 4EBA 0188 jsr [PC + 0x188 /* 000013A8 */]
00001222 3805 move.w D4, D5
00001224 4FEF 000C lea.l A7, [A7 + 0xC]
00001228 600E bra +0x10 /* 00001238 */
label0000122A:
0000122A 3045 movea.w A0, D5
0000122C D1C6 add.l A0, D6
0000122E 3244 movea.w A1, D4
00001230 B1C9 cmpa.l A0, A1
00001232 6C04 bge +0x6 /* 00001238 */
00001234 3806 move.w D4, D6
00001236 D845 add.w D4, D5
label00001238:
00001238 2006 move.l D0, D6
0000123A 2278 0AB4 movea.l A1, [0x00000AB4 /* TEScrpHandle */]
0000123E 206E 0008 movea.l A0, [A6 + 0x8]
00001242 A9E2 syscall PtrToXHand
00001244 31C6 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D6
00001248 3F04 move.w -[A7], D4
0000124A 3F05 move.w -[A7], D5
0000124C 4EBA 015A jsr [PC + 0x15A /* 000013A8 */]
00001250 BE86 cmp.l D7, D6
00001252 588F addq.l A7, 4
00001254 6F0E ble +0x10 /* 00001264 */
00001256 4EBA 042A jsr [PC + 0x42A /* 00001682 */]
0000125A DDAE 0008 add.l [A6 + 0x8], D6
0000125E 9E86 sub.l D7, D6
00001260 6000 FF6C bra -0x92 /* 000011CE */
label00001264:
00001264 DD6D FB3C add.w [A5 - 0x4C4], D6
00001268 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
0000126C 4E5E unlink A6
0000126E 4E75 rts
fn00001270:
00001270 4E56 0000 link A6, 0
00001274 48E7 0308 movem.l -[A7], D6,D7,A4
00001278 3E2E 0008 move.w D7, [A6 + 0x8]
0000127C 3C2E 000A move.w D6, [A6 + 0xA]
00001280 4EBA 01BA jsr [PC + 0x1BA /* 0000143C */]
00001284 2840 movea.l A4, D0
00001286 302D FB3A move.w D0, [A5 - 0x4C6]
0000128A 48C0 ext.l D0
0000128C D080 add.l D0, D0
0000128E 7201 moveq.l D1, 0x01
00001290 D26D FB76 add.w D1, [A5 - 0x48A]
00001294 B274 0862 cmp.w D1, [A4 + D0 + 0x62]
00001298 6610 bne +0x12 /* 000012AA */
0000129A 3947 0020 move.w [A4 + 0x20], D7
0000129E 3946 0022 move.w [A4 + 0x22], D6
000012A2 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000012A6 A9D7 syscall TEDelete
000012A8 603A bra +0x3C /* 000012E4 */
label000012AA:
000012AA 3946 0020 move.w [A4 + 0x20], D6
000012AE 396D FB76 0022 move.w [A4 + 0x22], [A5 - 0x48A]
000012B4 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000012B8 A9D5 syscall TECopy
000012BA 302D FB76 move.w D0, [A5 - 0x48A]
000012BE 9047 sub.w D0, D7
000012C0 3040 movea.w A0, D0
000012C2 2F08 move.l -[A7], A0
000012C4 302D FB76 move.w D0, [A5 - 0x48A]
000012C8 9046 sub.w D0, D6
000012CA 3040 movea.w A0, D0
000012CC 2F08 move.l -[A7], A0
000012CE 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
000012D2 4EBA 009E jsr [PC + 0x9E /* 00001372 */]
000012D6 3EAD FB76 move.w [A7], [A5 - 0x48A]
000012DA 3F07 move.w -[A7], D7
000012DC 4EBA 00CA jsr [PC + 0xCA /* 000013A8 */]
000012E0 4FEF 000C lea.l A7, [A7 + 0xC]
label000012E4:
000012E4 3006 move.w D0, D6
000012E6 9047 sub.w D0, D7
000012E8 916D FB76 sub.w [A5 - 0x48A], D0
000012EC 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000012F0 4E5E unlink A6
000012F2 4E75 rts
fn000012F4:
000012F4 4E56 0000 link A6, 0
000012F8 2F0C move.l -[A7], A4
000012FA 4EBA 0140 jsr [PC + 0x140 /* 0000143C */]
000012FE 2840 movea.l A4, D0
00001300 396E 000A 0020 move.w [A4 + 0x20], [A6 + 0xA]
00001306 302D FB3A move.w D0, [A5 - 0x4C6]
0000130A 48C0 ext.l D0
0000130C D080 add.l D0, D0
0000130E 7201 moveq.l D1, 0x01
00001310 D26D FB76 add.w D1, [A5 - 0x48A]
00001314 B274 0862 cmp.w D1, [A4 + D0 + 0x62]
00001318 6616 bne +0x18 /* 00001330 */
0000131A 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001320 102E 0008 move.b D0, [A6 + 0x8]
00001324 4880 ext.w D0
00001326 3F00 move.w -[A7], D0
00001328 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000132C A9DC syscall TEKey
0000132E 6038 bra +0x3A /* 00001368 */
label00001330:
00001330 396D FB76 0022 move.w [A4 + 0x22], [A5 - 0x48A]
00001336 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000133A A9D5 syscall TECopy
0000133C 42A7 clr.l -[A7]
0000133E 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00001342 42A7 clr.l -[A7]
00001344 42A7 clr.l -[A7]
00001346 42A7 clr.l -[A7]
00001348 486E 0008 pea.l [A6 + 0x8]
0000134C 4878 0001 push.l 0x1
00001350 A9E0 syscall Munger
00001352 5278 0AB0 addq.w [0x00000AB0 /* TEScrpLength */], 1
00001356 7001 moveq.l D0, 0x01
00001358 D06D FB76 add.w D0, [A5 - 0x48A]
0000135C 3E80 move.w [A7], D0
0000135E 3F2E 000A move.w -[A7], [A6 + 0xA]
00001362 4EBA 0044 jsr [PC + 0x44 /* 000013A8 */]
00001366 5C8F addq.l A7, 6
label00001368:
00001368 526D FB76 addq.w [A5 - 0x48A], 1
0000136C 285F movea.l A4, [A7]+
0000136E 4E5E unlink A6
00001370 4E75 rts
fn00001372:
00001372 4E56 0000 link A6, 0
00001376 48E7 0700 movem.l -[A7], D5,D6,D7
0000137A 1E2E 0008 move.b D7, [A6 + 0x8]
0000137E 2C2E 000A move.l D6, [A6 + 0xA]
00001382 2A2E 000E move.l D5, [A6 + 0xE]
00001386 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
0000138A 2005 move.l D0, D5
0000138C 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00001390 A024 syscall SetHandleSize
00001392 2050 movea.l A0, [A0]
00001394 D1C6 add.l A0, D6
00001396 9A86 sub.l D5, D6
00001398 6002 bra +0x4 /* 0000139C */
label0000139A:
0000139A 10C7 move.b [A0]+, D7
label0000139C:
0000139C 51CD FFFC dbf D5, -0x6 /* 0000139A */
000013A0 4CDF 00E0 movem.l D5,D6,D7, [A7]+
000013A4 4E5E unlink A6
000013A6 4E75 rts
fn000013A8:
000013A8 4E56 0000 link A6, 0
000013AC 2F0C move.l -[A7], A4
000013AE 4EBA 008C jsr [PC + 0x8C /* 0000143C */]
000013B2 2840 movea.l A4, D0
000013B4 396E 0008 0020 move.w [A4 + 0x20], [A6 + 0x8]
000013BA 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
000013C0 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000013C4 A9DB syscall TEPaste
000013C6 285F movea.l A4, [A7]+
000013C8 4E5E unlink A6
000013CA 4E75 rts
fn000013CC:
000013CC 4E56 0000 link A6, 0
000013D0 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000013D4 3E2E 0008 move.w D7, [A6 + 0x8]
000013D8 4EBA 0062 jsr [PC + 0x62 /* 0000143C */]
000013DC 2840 movea.l A4, D0
000013DE 302D FB3A move.w D0, [A5 - 0x4C6]
000013E2 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
000013E6 D6C0 add.w A3, D0
000013E8 7CFF moveq.l D6, 0xFFFFFFFF
000013EA DC6B 0002 add.w D6, [A3 + 0x2]
000013EE 3013 move.w D0, [A3]
000013F0 D06D FB3C add.w D0, [A5 - 0x4C4]
000013F4 DE40 add.w D7, D0
000013F6 BC47 cmp.w D6, D7
000013F8 6C24 bge +0x26 /* 0000141E */
000013FA 3007 move.w D0, D7
000013FC 9046 sub.w D0, D6
000013FE 3040 movea.w A0, D0
00001400 2F08 move.l -[A7], A0
00001402 42A7 clr.l -[A7]
00001404 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
00001408 4EBA FF68 jsr [PC - 0x98 /* 00001372 */]
0000140C 3E86 move.w [A7], D6
0000140E 3F06 move.w -[A7], D6
00001410 4EBA FF96 jsr [PC - 0x6A /* 000013A8 */]
00001414 206D FB40 movea.l A0, [A5 - 0x4C0]
00001418 2850 movea.l A4, [A0]
0000141A 4FEF 000C lea.l A7, [A7 + 0xC]
label0000141E:
0000141E 3947 0022 move.w [A4 + 0x22], D7
00001422 3947 0020 move.w [A4 + 0x20], D7
00001426 397C 00FF 0046 move.w [A4 + 0x46], 0xFF
0000142C 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001430 A9D8 syscall TEActivate
00001432 3007 move.w D0, D7
00001434 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001438 4E5E unlink A6
0000143A 4E75 rts
fn0000143C:
0000143C 206D FB40 movea.l A0, [A5 - 0x4C0]
00001440 2050 movea.l A0, [A0]
00001442 4A68 0024 tst.w [A0 + 0x24]
00001446 6706 beq +0x8 /* 0000144E */
00001448 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000144C A9D9 syscall TEDeactivate
label0000144E:
0000144E 206D FB40 movea.l A0, [A5 - 0x4C0]
00001452 2010 move.l D0, [A0]
00001454 4E75 rts
fn00001456:
00001456 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000145A 3E2D FB36 move.w D7, [A5 - 0x4CA]
0000145E 206D FB40 movea.l A0, [A5 - 0x4C0]
00001462 2850 movea.l A4, [A0]
00001464 6000 009C bra +0x9E /* 00001502 */
label00001468:
00001468 3007 move.w D0, D7
0000146A 5347 subq.w D7, 1
0000146C 48C0 ext.l D0
0000146E D080 add.l D0, D0
00001470 7AFF moveq.l D5, 0xFFFFFFFF
00001472 DA74 0860 add.w D5, [A4 + D0 + 0x60]
00001476 3C05 move.w D6, D5
00001478 206C 003E movea.l A0, [A4 + 0x3E]
0000147C 2650 movea.l A3, [A0]
0000147E D6C6 add.w A3, D6
00001480 6002 bra +0x4 /* 00001484 */
label00001482:
00001482 5346 subq.w D6, 1
label00001484:
00001484 4A46 tst.w D6
00001486 6708 beq +0xA /* 00001490 */
00001488 538B subq.l A3, 1
0000148A 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
0000148E 67F2 beq -0xC /* 00001482 */
label00001490:
00001490 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001496 6716 beq +0x18 /* 000014AE */
00001498 4A2D FB58 tst.b [A5 - 0x4A8]
0000149C 6B10 bmi +0x12 /* 000014AE */
0000149E BE6D FB3A cmp.w D7, [A5 - 0x4C6]
000014A2 660A bne +0xC /* 000014AE */
000014A4 BC6D FB76 cmp.w D6, [A5 - 0x48A]
000014A8 6C04 bge +0x6 /* 000014AE */
000014AA 3C2D FB76 move.w D6, [A5 - 0x48A]
label000014AE:
000014AE 9A46 sub.w D5, D6
000014B0 6750 beq +0x52 /* 00001502 */
000014B2 42A7 clr.l -[A7]
000014B4 2F2C 003E move.l -[A7], [A4 + 0x3E]
000014B8 3046 movea.w A0, D6
000014BA 2F08 move.l -[A7], A0
000014BC 42A7 clr.l -[A7]
000014BE 3045 movea.w A0, D5
000014C0 2F08 move.l -[A7], A0
000014C2 486D FBDC pea.l [A5 - 0x424]
000014C6 42A7 clr.l -[A7]
000014C8 A9E0 syscall Munger
000014CA 206D FB40 movea.l A0, [A5 - 0x4C0]
000014CE 2850 movea.l A4, [A0]
000014D0 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
000014D6 588F addq.l A7, 4
000014D8 6714 beq +0x16 /* 000014EE */
000014DA BC6D FB74 cmp.w D6, [A5 - 0x48C]
000014DE 6C04 bge +0x6 /* 000014E4 */
000014E0 9B6D FB74 sub.w [A5 - 0x48C], D5
label000014E4:
000014E4 BC6D FB76 cmp.w D6, [A5 - 0x48A]
000014E8 6C04 bge +0x6 /* 000014EE */
000014EA 9B6D FB76 sub.w [A5 - 0x48A], D5
label000014EE:
000014EE BC6C 0020 cmp.w D6, [A4 + 0x20]
000014F2 6C04 bge +0x6 /* 000014F8 */
000014F4 9B6C 0020 sub.w [A4 + 0x20], D5
label000014F8:
000014F8 BC6C 0022 cmp.w D6, [A4 + 0x22]
000014FC 6C04 bge +0x6 /* 00001502 */
000014FE 9B6C 0022 sub.w [A4 + 0x22], D5
label00001502:
00001502 4A47 tst.w D7
00001504 6600 FF62 bne -0x9C /* 00001468 */
00001508 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000150C A9D0 syscall TECalText
0000150E 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00001512 4E75 rts
fn00001514:
00001514 4E56 FFF8 link A6, -0x0008
00001518 206D FB2E movea.l A0, [A5 - 0x4D2]
0000151C 2D68 0010 FFF8 move.l [A6 - 0x8], [A0 + 0x10]
00001522 2D68 0014 FFFC move.l [A6 - 0x4], [A0 + 0x14]
00001528 486E FFF8 pea.l [A6 - 0x8]
0000152C A928 syscall InvalRect
0000152E 486E FFF8 pea.l [A6 - 0x8]
00001532 2F3C 0004 0004 move.l -[A7], 0x40004
00001538 A8A9 syscall InsetRect
0000153A 206D FB40 movea.l A0, [A5 - 0x4C0]
0000153E 2050 movea.l A0, [A0]
00001540 216E FFF8 0008 move.l [A0 + 0x8], [A6 - 0x8]
00001546 216E FFFC 000C move.l [A0 + 0xC], [A6 - 0x4]
0000154C 302D FB32 move.w D0, [A5 - 0x4CE]
00001550 C1ED FB36 muls.w D0, [A5 - 0x4CA]
00001554 322E FFFC move.w D1, [A6 - 0x4]
00001558 9240 sub.w D1, D0
0000155A 3D41 FFF8 move.w [A6 - 0x8], D1
0000155E 206D FB40 movea.l A0, [A5 - 0x4C0]
00001562 2050 movea.l A0, [A0]
00001564 20AE FFF8 move.l [A0], [A6 - 0x8]
00001568 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
0000156E 4E5E unlink A6
00001570 4E75 rts
fn00001572:
00001572 4E56 FFF8 link A6, -0x0008
00001576 2F0C move.l -[A7], A4
00001578 286E 0008 movea.l A4, [A6 + 0x8]
0000157C 206E 000C movea.l A0, [A6 + 0xC]
00001580 4868 0004 pea.l [A0 + 0x4]
00001584 A874 syscall GetPort
00001586 206E 000C movea.l A0, [A6 + 0xC]
0000158A 20AD FB64 move.l [A0], [A5 - 0x49C]
0000158E 200C move.l D0, A4
00001590 6748 beq +0x4A /* 000015DA */
00001592 302C 006C move.w D0, [A4 + 0x6C]
00001596 B06D FB5E cmp.w D0, [A5 - 0x4A2]
0000159A 663E bne +0x40 /* 000015DA */
0000159C 2F0C move.l -[A7], A4
0000159E 4EBA 0068 jsr [PC + 0x68 /* 00001608 */]
000015A2 2E8C move.l [A7], A4
000015A4 A873 syscall SetPort
000015A6 4227 clr.b -[A7]
000015A8 2F2C 007A move.l -[A7], [A4 + 0x7A]
000015AC A8E2 syscall EmptyRgn
000015AE 4A1F tst.b [A7]+
000015B0 6624 bne +0x26 /* 000015D6 */
000015B2 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
000015B8 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
000015BE 2F0C move.l -[A7], A4
000015C0 A922 syscall BeginUpdate
000015C2 486E FFF8 pea.l [A6 - 0x8]
000015C6 A8A3 syscall EraseRect
000015C8 486E FFF8 pea.l [A6 - 0x8]
000015CC 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000015D0 A9D3 syscall TEUpdate
000015D2 2F0C move.l -[A7], A4
000015D4 A923 syscall EndUpdate
label000015D6:
000015D6 2B4C FB64 move.l [A5 - 0x49C], A4
label000015DA:
000015DA 285F movea.l A4, [A7]+
000015DC 4E5E unlink A6
000015DE 4E75 rts
fn000015E0:
000015E0 4E56 0000 link A6, 0
000015E4 206E 0008 movea.l A0, [A6 + 0x8]
000015E8 2B50 FB64 move.l [A5 - 0x49C], [A0]
000015EC 670C beq +0xE /* 000015FA */
000015EE 206E 0008 movea.l A0, [A6 + 0x8]
000015F2 2F10 move.l -[A7], [A0]
000015F4 4EBA 0012 jsr [PC + 0x12 /* 00001608 */]
000015F8 588F addq.l A7, 4
label000015FA:
000015FA 206E 0008 movea.l A0, [A6 + 0x8]
000015FE 2F28 0004 move.l -[A7], [A0 + 0x4]
00001602 A873 syscall SetPort
00001604 4E5E unlink A6
00001606 4E75 rts
fn00001608:
00001608 4E56 0000 link A6, 0
0000160C 202E 0008 move.l D0, [A6 + 0x8]
00001610 B0AD FB2E cmp.l D0, [A5 - 0x4D2]
00001614 6738 beq +0x3A /* 0000164E */
00001616 4AAD FB2E tst.l [A5 - 0x4D2]
0000161A 6716 beq +0x18 /* 00001632 */
0000161C 206D FB2E movea.l A0, [A5 - 0x4D2]
00001620 2068 0098 movea.l A0, [A0 + 0x98]
00001624 2050 movea.l A0, [A0]
00001626 43ED FB2E lea.l A1, [A5 - 0x4D2]
0000162A 700A moveq.l D0, 0x0A
label0000162C:
0000162C 20D9 move.l [A0]+, [A1]+
0000162E 51C8 FFFC dbf D0, -0x6 /* 0000162C */
label00001632:
00001632 4AAE 0008 tst.l [A6 + 0x8]
00001636 6716 beq +0x18 /* 0000164E */
00001638 206E 0008 movea.l A0, [A6 + 0x8]
0000163C 2068 0098 movea.l A0, [A0 + 0x98]
00001640 2050 movea.l A0, [A0]
00001642 43ED FB2E lea.l A1, [A5 - 0x4D2]
00001646 700A moveq.l D0, 0x0A
label00001648:
00001648 22D8 move.l [A1]+, [A0]+
0000164A 51C8 FFFC dbf D0, -0x6 /* 00001648 */
label0000164E:
0000164E 4E5E unlink A6
00001650 4E75 rts
fn00001652:
00001652 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001656 A029 syscall HLock
00001658 2010 move.l D0, [A0]
0000165A 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00001660 6716 beq +0x18 /* 00001678 */
00001662 2240 movea.l A1, D0
00001664 3238 0AB0 move.w D1, [0x00000AB0 /* TEScrpLength */]
00001668 600A bra +0xC /* 00001674 */
label0000166A:
0000166A 4A19 tst.b [A1]+
0000166C 6A06 bpl +0x8 /* 00001674 */
0000166E 08A9 0007 FFFF bclr.b [A1 - 0x1], 0x7
label00001674:
00001674 51C9 FFF4 dbf D1, -0xE /* 0000166A */
label00001678:
00001678 4E75 rts
fn0000167A:
0000167A 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
0000167E A02A syscall HUnlock
00001680 4E75 rts
fn00001682:
00001682 4E56 FFE8 link A6, -0x0018
00001686 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
0000168A 4EBA FDB0 jsr [PC - 0x250 /* 0000143C */]
0000168E 2840 movea.l A4, D0
00001690 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001696 6712 beq +0x14 /* 000016AA */
00001698 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
0000169E 660A bne +0xC /* 000016AA */
000016A0 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
000016A6 6700 00E4 beq +0xE6 /* 0000178C */
label000016AA:
000016AA 41EE FFE8 lea.l A0, [A6 - 0x18]
000016AE 7002 moveq.l D0, 0x02
000016B0 A031 syscall GetOSEvent
000016B2 5240 addq.w D0, 1
000016B4 4A00 tst.b D0
000016B6 670E beq +0x10 /* 000016C6 */
label000016B8:
000016B8 41EE FFE8 lea.l A0, [A6 - 0x18]
000016BC 7004 moveq.l D0, 0x04
000016BE A031 syscall GetOSEvent
000016C0 5240 addq.w D0, 1
000016C2 4A00 tst.b D0
000016C4 67F2 beq -0xC /* 000016B8 */
label000016C6:
000016C6 4AAD FB54 tst.l [A5 - 0x4AC]
000016CA 673A beq +0x3C /* 00001706 */
000016CC 302D FB3A move.w D0, [A5 - 0x4C6]
000016D0 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
000016D4 D6C0 add.w A3, D0
000016D6 3953 0020 move.w [A4 + 0x20], [A3]
000016DA 396B 0002 0022 move.w [A4 + 0x22], [A3 + 0x2]
000016E0 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000016E4 A9D5 syscall TECopy
000016E6 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
000016EA 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
000016EE 2F08 move.l -[A7], A0
000016F0 4878 0001 push.l 0x1
000016F4 4EBA FF5C jsr [PC - 0xA4 /* 00001652 */]
000016F8 2F00 move.l -[A7], D0
000016FA 4EBA 128A jsr [PC + 0x128A /* 00002986 */]
000016FE 4EBA FF7A jsr [PC - 0x86 /* 0000167A */]
00001702 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001706:
00001706 526D FB3A addq.w [A5 - 0x4C6], 1
0000170A 302D FB3A move.w D0, [A5 - 0x4C6]
0000170E B06D FB36 cmp.w D0, [A5 - 0x4CA]
00001712 6674 bne +0x76 /* 00001788 */
00001714 206D FB40 movea.l A0, [A5 - 0x4C0]
00001718 2850 movea.l A4, [A0]
0000171A 246C 003E movea.l A2, [A4 + 0x3E]
0000171E 3E2C 0062 move.w D7, [A4 + 0x62]
00001722 9F6C 003C sub.w [A4 + 0x3C], D7
00001726 3C2C 003C move.w D6, [A4 + 0x3C]
0000172A 526C 003C addq.w [A4 + 0x3C], 1
0000172E 2D54 FFF8 move.l [A6 - 0x8], [A4]
00001732 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
00001738 486E FFF8 pea.l [A6 - 0x8]
0000173C 4267 clr.w -[A7]
0000173E 302D FB32 move.w D0, [A5 - 0x4CE]
00001742 4440 neg.w D0
00001744 3F00 move.w -[A7], D0
00001746 42A7 clr.l -[A7]
00001748 A8D8 syscall NewRgn
0000174A 2A1F move.l D5, [A7]+
0000174C 2F05 move.l -[A7], D5
0000174E A8EF syscall ScrollRect
00001750 2F05 move.l -[A7], D5
00001752 A8D9 syscall DisposRgn/DisposeRgn
00001754 42A7 clr.l -[A7]
00001756 2F0A move.l -[A7], A2
00001758 42A7 clr.l -[A7]
0000175A 42A7 clr.l -[A7]
0000175C 3047 movea.w A0, D7
0000175E 2F08 move.l -[A7], A0
00001760 486D FBDE pea.l [A5 - 0x422]
00001764 42A7 clr.l -[A7]
00001766 A9E0 syscall Munger
00001768 4297 clr.l [A7]
0000176A 2F0A move.l -[A7], A2
0000176C 3046 movea.w A0, D6
0000176E 2F08 move.l -[A7], A0
00001770 42A7 clr.l -[A7]
00001772 42A7 clr.l -[A7]
00001774 486D FBE0 pea.l [A5 - 0x420]
00001778 4878 0001 push.l 0x1
0000177C A9E0 syscall Munger
0000177E 2EAD FB40 move.l [A7], [A5 - 0x4C0]
00001782 A9D0 syscall TECalText
00001784 536D FB3A subq.w [A5 - 0x4C6], 1
label00001788:
00001788 426D FB3C clr.w [A5 - 0x4C4]
label0000178C:
0000178C 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
00001790 4E5E unlink A6
00001792 4E75 rts
fn00001794:
00001794 4E56 FFFA link A6, -0x0006
00001798 2F0C move.l -[A7], A4
0000179A 4AAD FB78 tst.l [A5 - 0x488]
0000179E 661C bne +0x1E /* 000017BC */
000017A0 41ED 00A2 lea.l A0, [A5 + 0xA2 /* export_16 */]
000017A4 2B48 FB0E move.l [A5 - 0x4F2], A0
000017A8 41ED 00AA lea.l A0, [A5 + 0xAA /* export_17 */]
000017AC 2B48 FB14 move.l [A5 - 0x4EC], A0
000017B0 41ED FAEE lea.l A0, [A5 - 0x512]
000017B4 702A moveq.l D0, 0x2A
000017B6 A9E3 syscall PtrToHand
000017B8 2B48 FB78 move.l [A5 - 0x488], A0
label000017BC:
000017BC 3D7C 001B FFFE move.w [A6 - 0x2], 0x1B
000017C2 6012 bra +0x14 /* 000017D6 */
label000017C4:
000017C4 206E FFFA movea.l A0, [A6 - 0x6]
000017C8 2050 movea.l A0, [A0]
000017CA 0828 0005 0005 btst.b [A0 + 0x5], 0x5
000017D0 6718 beq +0x1A /* 000017EA */
000017D2 526E FFFE addq.w [A6 - 0x2], 1
label000017D6:
000017D6 302E FFFE move.w D0, [A6 - 0x2]
000017DA 48C0 ext.l D0
000017DC E588 lsl D0, 2
000017DE D0B8 011C add.l D0, [0x0000011C /* UTableBase */]
000017E2 2040 movea.l A0, D0
000017E4 2D50 FFFA move.l [A6 - 0x6], [A0]
000017E8 66DA bne -0x24 /* 000017C4 */
label000017EA:
000017EA 302E FFFE move.w D0, [A6 - 0x2]
000017EE 4640 not.w D0
000017F0 3D40 FFFE move.w [A6 - 0x2], D0
000017F4 302E FFFE move.w D0, [A6 - 0x2]
000017F8 A13D syscall DrvrInstall, flags=1
000017FA 2850 movea.l A4, [A0]
000017FC 28AD FB78 move.l [A4], [A5 - 0x488]
00001800 396D FAEE 0004 move.w [A4 + 0x4], [A5 - 0x512]
00001806 396D FAF2 0024 move.w [A4 + 0x24], [A5 - 0x50E]
0000180C 302E FFFE move.w D0, [A6 - 0x2]
00001810 285F movea.l A4, [A7]+
00001812 4E5E unlink A6
00001814 4E75 rts
export_17:
00001816 70E8 moveq.l D0, 0xFFFFFFE8
00001818 4E75 rts
export_16:
0000181A 4E56 FFE6 link A6, -0x001A
0000181E 48E7 0018 movem.l -[A7], A3,A4
00001822 200D move.l D0, A5
00001824 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00001828 2D40 FFE6 move.l [A6 - 0x1A], D0
0000182C 2848 movea.l A4, A0
0000182E 2D49 FFFC move.l [A6 - 0x4], A1
00001832 486E FFF4 pea.l [A6 - 0xC]
00001836 42A7 clr.l -[A7]
00001838 A924 syscall FrontWindow
0000183A 4EBA FD36 jsr [PC - 0x2CA /* 00001572 */]
0000183E 508F addq.l A7, 8
00001840 302C 001A move.w D0, [A4 + 0x1A]
00001844 0440 0040 subi.w D0, 0x40 /* '@' */
00001848 0C40 0009 cmpi.w D0, 0x9 /* '\t' */
0000184C 6200 009E bhi +0xA0 /* 000018EC */
00001850 43FA 00D0 lea.l A1, [PC + 0xD0 /* 00001922, value 0xFF62FFCA */]
00001854 D040 add.w D0, D0
00001856 D2F1 0000 add.w A1, [A1 + D0.w]
0000185A 4ED1 jmp [A1]
0000185C 4EBA 00D8 jsr [PC + 0xD8 /* 00001936 */]
00001860 6000 008A bra +0x8C /* 000018EC */
00001864 4EBA 05EE jsr [PC + 0x5EE /* 00001E54 */]
00001868 6000 0082 bra +0x84 /* 000018EC */
0000186C 4EBA 0634 jsr [PC + 0x634 /* 00001EA2 */]
00001870 607A bra +0x7C /* 000018EC */
00001872 4EBA 0670 jsr [PC + 0x670 /* 00001EE4 */]
00001876 6074 bra +0x76 /* 000018EC */
00001878 3F3C 001B move.w -[A7], 0x1B
0000187C 4EBA 03A4 jsr [PC + 0x3A4 /* 00001C22 */]
00001880 548F addq.l A7, 2
00001882 6068 bra +0x6A /* 000018EC */
00001884 266C 001C movea.l A3, [A4 + 0x1C]
00001888 3013 move.w D0, [A3]
0000188A 0C40 0006 cmpi.w D0, 0x6
0000188E 625C bhi +0x5E /* 000018EC */
00001890 43FA 0082 lea.l A1, [PC + 0x82 /* 00001914, value 0xFFD8FF98 */]
00001894 D040 add.w D0, D0
00001896 D2F1 0000 add.w A1, [A1 + D0.w]
0000189A 4ED1 jmp [A1]
0000189C 486E FFEC pea.l [A6 - 0x14]
000018A0 2F2B 0002 move.l -[A7], [A3 + 0x2]
000018A4 4EBA FCCC jsr [PC - 0x334 /* 00001572 */]
000018A8 508F addq.l A7, 8
000018AA 6040 bra +0x42 /* 000018EC */
000018AC 2F0B move.l -[A7], A3
000018AE 4EBA 00C6 jsr [PC + 0xC6 /* 00001976 */]
000018B2 588F addq.l A7, 4
000018B4 6036 bra +0x38 /* 000018EC */
000018B6 7000 moveq.l D0, 0x00
000018B8 102B 0005 move.b D0, [A3 + 0x5]
000018BC 3D40 FFEA move.w [A6 - 0x16], D0
000018C0 082B 0000 000E btst.b [A3 + 0xE], 0x0
000018C6 6714 beq +0x16 /* 000018DC */
000018C8 0C53 0005 cmpi.w [A3], 0x5
000018CC 671E beq +0x20 /* 000018EC */
000018CE 3F2E FFEA move.w -[A7], [A6 - 0x16]
000018D2 4EBA 024A jsr [PC + 0x24A /* 00001B1E */]
000018D6 548F addq.l A7, 2
000018D8 3D40 FFEA move.w [A6 - 0x16], D0
label000018DC:
000018DC 4A6E FFEA tst.w [A6 - 0x16]
000018E0 670A beq +0xC /* 000018EC */
000018E2 3F2E FFEA move.w -[A7], [A6 - 0x16]
000018E6 4EBA 033A jsr [PC + 0x33A /* 00001C22 */]
000018EA 548F addq.l A7, 2
label000018EC:
000018EC 206D FB78 movea.l A0, [A5 - 0x488]
000018F0 A02A syscall HUnlock
000018F2 206E FFFC movea.l A0, [A6 - 0x4]
000018F6 A528 syscall RecoverHandle, flags=5
000018F8 A02A syscall HUnlock
000018FA 486E FFF4 pea.l [A6 - 0xC]
000018FE 4EBA FCE0 jsr [PC - 0x320 /* 000015E0 */]
00001902 588F addq.l A7, 4
00001904 202E FFE6 move.l D0, [A6 - 0x1A]
00001908 C18D exg D0, A5
0000190A 7000 moveq.l D0, 0x00
0000190C 4CDF 1800 movem.l A3,A4, [A7]+
00001910 4E5E unlink A6
00001912 4E75 rts
00001914 FFD8 .invalid <<F/7/7>>
00001916 FF98 .invalid <<F/6/7>>
00001918 FFD8 .invalid <<F/7/7>>
0000191A FFA2 .invalid <<F/6/7>>
0000191C FFD8 .invalid <<F/7/7>>
0000191E FFA2 .invalid <<F/6/7>>
00001920 FF88 .invalid <<F/6/7>>
00001922 FF62 .extension 0xF62 <<F/4-5/7>> // unimplemented
00001924 FFCA .invalid <<F/7/7>>
00001926 FF3A .extension 0xF3A <<F/4-5/7>> // unimplemented
00001928 FFCA .invalid <<F/7/7>>
0000192A FFCA .invalid <<F/7/7>>
0000192C FFCA .invalid <<F/7/7>>
0000192E FF42 .extension 0xF42 <<F/4-5/7>> // unimplemented
00001930 FF4A .extension 0xF4A <<F/4-5/7>> // unimplemented
00001932 FF50 .extension 0xF50 <<F/4-5/7>> // unimplemented
00001934 FF56 .extension 0xF56 <<F/4-5/7>> // unimplemented
fn00001936:
00001936 4E56 FFFC link A6, -0x0004
0000193A 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000193E A9DA syscall TEIdle
00001940 486E FFFC pea.l [A6 - 0x4]
00001944 A972 syscall GetMouse
00001946 4227 clr.b -[A7]
00001948 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000194C 206D FB2E movea.l A0, [A5 - 0x4D2]
00001950 4868 0010 pea.l [A0 + 0x10]
00001954 A8AD syscall PtInRect
00001956 4A1F tst.b [A7]+
00001958 6710 beq +0x12 /* 0000196A */
0000195A 42A7 clr.l -[A7]
0000195C 3F3C 0001 move.w -[A7], 0x1
00001960 A9B9 syscall GetCursor
00001962 205F movea.l A0, [A7]+
00001964 2F10 move.l -[A7], [A0]
00001966 A851 syscall SetCursor
00001968 6008 bra +0xA /* 00001972 */
label0000196A:
0000196A 2055 movea.l A0, [A5]
0000196C 4868 FF94 pea.l [A0 - 0x6C]
00001970 A851 syscall SetCursor
label00001972:
00001972 4E5E unlink A6
00001974 4E75 rts
fn00001976:
00001976 4E56 0000 link A6, 0
0000197A 48E7 0108 movem.l -[A7], D7,A4
0000197E 286E 0008 movea.l A4, [A6 + 0x8]
00001982 206D FB2E movea.l A0, [A5 - 0x4D2]
00001986 317C 0008 006C move.w [A0 + 0x6C], 0x8
0000198C 4267 clr.w -[A7]
0000198E 2F2C 000A move.l -[A7], [A4 + 0xA]
00001992 486D FB2E pea.l [A5 - 0x4D2]
00001996 A92C syscall FindWindow
00001998 3E1F move.w D7, [A7]+
0000199A 206D FB2E movea.l A0, [A5 - 0x4D2]
0000199E 316D FB5E 006C move.w [A0 + 0x6C], [A5 - 0x4A2]
000019A4 3007 move.w D0, D7
000019A6 6B40 bmi +0x42 /* 000019E8 */
000019A8 5B40 subq.w D0, 5
000019AA 671E beq +0x20 /* 000019CA */
000019AC 6A06 bpl +0x8 /* 000019B4 */
000019AE 5440 addq.w D0, 2
000019B0 672E beq +0x30 /* 000019E0 */
000019B2 6034 bra +0x36 /* 000019E8 */
label000019B4:
000019B4 5940 subq.w D0, 4
000019B6 6A30 bpl +0x32 /* 000019E8 */
000019B8 5440 addq.w D0, 2
000019BA 6B2C bmi +0x2E /* 000019E8 */
000019BC 3F07 move.w -[A7], D7
000019BE 2F2C 000A move.l -[A7], [A4 + 0xA]
000019C2 4EBA 002C jsr [PC + 0x2C /* 000019F0 */]
000019C6 5C8F addq.l A7, 6
000019C8 601E bra +0x20 /* 000019E8 */
label000019CA:
000019CA 302C 000E move.w D0, [A4 + 0xE]
000019CE 0240 0900 andi.w D0, 0x900 /* '\t\0' */
000019D2 660C bne +0xE /* 000019E0 */
000019D4 2F2C 000A move.l -[A7], [A4 + 0xA]
000019D8 4EBA 004E jsr [PC + 0x4E /* 00001A28 */]
000019DC 588F addq.l A7, 4
000019DE 6008 bra +0xA /* 000019E8 */
label000019E0:
000019E0 2F0C move.l -[A7], A4
000019E2 4EBA 0088 jsr [PC + 0x88 /* 00001A6C */]
000019E6 588F addq.l A7, 4
label000019E8:
000019E8 4CDF 1080 movem.l D7,A4, [A7]+
000019EC 4E5E unlink A6
000019EE 4E75 rts
fn000019F0:
000019F0 4E56 0000 link A6, 0
000019F4 2F0C move.l -[A7], A4
000019F6 286D FB2E movea.l A4, [A5 - 0x4D2]
000019FA A850 syscall InitCursor
000019FC 4227 clr.b -[A7]
000019FE 2F0C move.l -[A7], A4
00001A00 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001A04 3F2E 000C move.w -[A7], [A6 + 0xC]
00001A08 A83B syscall TrackBox
00001A0A 4A1F tst.b [A7]+
00001A0C 6714 beq +0x16 /* 00001A22 */
00001A0E 486C 0010 pea.l [A4 + 0x10]
00001A12 A8A3 syscall EraseRect
00001A14 2F0C move.l -[A7], A4
00001A16 3F2E 000C move.w -[A7], [A6 + 0xC]
00001A1A 4227 clr.b -[A7]
00001A1C A83A syscall ZoomWindow
00001A1E 4EBA FAF4 jsr [PC - 0x50C /* 00001514 */]
label00001A22:
00001A22 285F movea.l A4, [A7]+
00001A24 4E5E unlink A6
00001A26 4E75 rts
fn00001A28:
00001A28 4E56 FFFC link A6, -0x0004
00001A2C 2F0C move.l -[A7], A4
00001A2E 286D FB2E movea.l A4, [A5 - 0x4D2]
00001A32 A850 syscall InitCursor
00001A34 2B6D FB44 FB24 move.l [A5 - 0x4DC], [A5 - 0x4BC]
00001A3A 42A7 clr.l -[A7]
00001A3C 2F0C move.l -[A7], A4
00001A3E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001A42 486D FB20 pea.l [A5 - 0x4E0]
00001A46 A92B syscall GrowWindow
00001A48 2D5F FFFC move.l [A6 - 0x4], [A7]+
00001A4C 6718 beq +0x1A /* 00001A66 */
00001A4E 486C 0010 pea.l [A4 + 0x10]
00001A52 A8A3 syscall EraseRect
00001A54 2F0C move.l -[A7], A4
00001A56 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001A5A 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001A5E 4227 clr.b -[A7]
00001A60 A91D syscall SizeWindow
00001A62 4EBA FAB0 jsr [PC - 0x550 /* 00001514 */]
label00001A66:
00001A66 285F movea.l A4, [A7]+
00001A68 4E5E unlink A6
00001A6A 4E75 rts
fn00001A6C:
00001A6C 4E56 0000 link A6, 0
00001A70 48E7 0118 movem.l -[A7], D7,A3,A4
00001A74 286E 0008 movea.l A4, [A6 + 0x8]
00001A78 7E00 moveq.l D7, 0x00
00001A7A 206D FB40 movea.l A0, [A5 - 0x4C0]
00001A7E 2050 movea.l A0, [A0]
00001A80 4A68 0024 tst.w [A0 + 0x24]
00001A84 660A bne +0xC /* 00001A90 */
00001A86 4267 clr.w -[A7]
00001A88 4EBA F942 jsr [PC - 0x6BE /* 000013CC */]
00001A8C 548F addq.l A7, 2
00001A8E 600A bra +0xC /* 00001A9A */
label00001A90:
00001A90 082C 0001 000E btst.b [A4 + 0xE], 0x1
00001A96 6702 beq +0x4 /* 00001A9A */
00001A98 7E01 moveq.l D7, 0x01
label00001A9A:
00001A9A 4EBA F9BA jsr [PC - 0x646 /* 00001456 */]
00001A9E 486C 000A pea.l [A4 + 0xA]
00001AA2 A871 syscall GlobalToLocal
00001AA4 2F2C 000A move.l -[A7], [A4 + 0xA]
00001AA8 1F07 move.b -[A7], D7
00001AAA 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001AAE A9D4 syscall TEClick
00001AB0 206D FB40 movea.l A0, [A5 - 0x4C0]
00001AB4 2650 movea.l A3, [A0]
00001AB6 302B 0020 move.w D0, [A3 + 0x20]
00001ABA B06B 0022 cmp.w D0, [A3 + 0x22]
00001ABE 6656 bne +0x58 /* 00001B16 */
00001AC0 377C 00FF 0046 move.w [A3 + 0x46], 0xFF
00001AC6 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001ACC 6706 beq +0x8 /* 00001AD4 */
00001ACE 4A2D FB58 tst.b [A5 - 0x4A8]
00001AD2 6A08 bpl +0xA /* 00001ADC */
label00001AD4:
00001AD4 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001AD8 A9D9 syscall TEDeactivate
00001ADA 603A bra +0x3C /* 00001B16 */
label00001ADC:
00001ADC 302B 0020 move.w D0, [A3 + 0x20]
00001AE0 B06D FB74 cmp.w D0, [A5 - 0x48C]
00001AE4 6C14 bge +0x16 /* 00001AFA */
00001AE6 306D FB74 movea.w A0, [A5 - 0x48C]
00001AEA 2F08 move.l -[A7], A0
00001AEC 306D FB74 movea.w A0, [A5 - 0x48C]
00001AF0 2F08 move.l -[A7], A0
00001AF2 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001AF6 A9D1 syscall TESetSelect
00001AF8 601C bra +0x1E /* 00001B16 */
label00001AFA:
00001AFA 302B 0022 move.w D0, [A3 + 0x22]
00001AFE B06D FB76 cmp.w D0, [A5 - 0x48A]
00001B02 6F12 ble +0x14 /* 00001B16 */
00001B04 306D FB76 movea.w A0, [A5 - 0x48A]
00001B08 2F08 move.l -[A7], A0
00001B0A 306D FB76 movea.w A0, [A5 - 0x48A]
00001B0E 2F08 move.l -[A7], A0
00001B10 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001B14 A9D1 syscall TESetSelect
label00001B16:
00001B16 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001B1A 4E5E unlink A6
00001B1C 4E75 rts
fn00001B1E:
00001B1E 4E56 0000 link A6, 0
00001B22 4A2D FB58 tst.b [A5 - 0x4A8]
00001B26 6A08 bpl +0xA /* 00001B30 */
00001B28 701F moveq.l D0, 0x1F
00001B2A C06E 0008 and.w D0, [A6 + 0x8]
00001B2E 6054 bra +0x56 /* 00001B84 */
label00001B30:
00001B30 302E 0008 move.w D0, [A6 + 0x8]
00001B34 0440 002E subi.w D0, 0x2E /* '.' */
00001B38 0C40 004C cmpi.w D0, 0x4C /* 'L' */
00001B3C 6244 bhi +0x46 /* 00001B82 */
00001B3E 43FA 0048 lea.l A1, [PC + 0x48 /* 00001B88, value 0xFFD4FFFA */]
00001B42 D040 add.w D0, D0
00001B44 D2F1 0000 add.w A1, [A1 + D0.w]
00001B48 4ED1 jmp [A1]
00001B4A 4EBA 0308 jsr [PC + 0x308 /* 00001E54 */]
00001B4E 6032 bra +0x34 /* 00001B82 */
00001B50 4EBA 0350 jsr [PC + 0x350 /* 00001EA2 */]
00001B54 602C bra +0x2E /* 00001B82 */
00001B56 4EBA 038C jsr [PC + 0x38C /* 00001EE4 */]
00001B5A 6026 bra +0x28 /* 00001B82 */
00001B5C 4A2D FB5A tst.b [A5 - 0x4A6]
00001B60 6706 beq +0x8 /* 00001B68 */
00001B62 1B7C 0001 FB5C move.b [A5 - 0x4A4], 0x1
label00001B68:
00001B68 7004 moveq.l D0, 0x04
00001B6A 6018 bra +0x1A /* 00001B84 */
00001B6C 7015 moveq.l D0, 0x15
00001B6E 6014 bra +0x16 /* 00001B84 */
00001B70 4A2D FB5A tst.b [A5 - 0x4A6]
00001B74 670C beq +0xE /* 00001B82 */
00001B76 426D FAEC clr.w [A5 - 0x514]
00001B7A 4267 clr.w -[A7]
00001B7C 4EBA E820 jsr [PC - 0x17E0 /* 0000039E */]
00001B80 548F addq.l A7, 2
label00001B82:
00001B82 7000 moveq.l D0, 0x00
label00001B84:
00001B84 4E5E unlink A6
00001B86 4E75 rts
00001B88 FFD4 .invalid <<F/7/7>>
00001B8A FFFA .invalid <<F/7/7>>
00001B8C FFFA .invalid <<F/7/7>>
00001B8E FFFA .invalid <<F/7/7>>
00001B90 FFFA .invalid <<F/7/7>>
00001B92 FFFA .invalid <<F/7/7>>
00001B94 FFFA .invalid <<F/7/7>>
00001B96 FFFA .invalid <<F/7/7>>
00001B98 FFFA .invalid <<F/7/7>>
00001B9A FFFA .invalid <<F/7/7>>
00001B9C FFFA .invalid <<F/7/7>>
00001B9E FFFA .invalid <<F/7/7>>
00001BA0 FFFA .invalid <<F/7/7>>
00001BA2 FFFA .invalid <<F/7/7>>
00001BA4 FFFA .invalid <<F/7/7>>
00001BA6 FFFA .invalid <<F/7/7>>
00001BA8 FFFA .invalid <<F/7/7>>
00001BAA FFFA .invalid <<F/7/7>>
00001BAC FFFA .invalid <<F/7/7>>
00001BAE FFFA .invalid <<F/7/7>>
00001BB0 FFFA .invalid <<F/7/7>>
00001BB2 FFC8 .invalid <<F/7/7>>
00001BB4 FFE0 .invalid <<F/7/7>>
00001BB6 FFFA .invalid <<F/7/7>>
00001BB8 FFFA .invalid <<F/7/7>>
00001BBA FFFA .invalid <<F/7/7>>
00001BBC FFFA .invalid <<F/7/7>>
00001BBE FFFA .invalid <<F/7/7>>
00001BC0 FFFA .invalid <<F/7/7>>
00001BC2 FFFA .invalid <<F/7/7>>
00001BC4 FFFA .invalid <<F/7/7>>
00001BC6 FFFA .invalid <<F/7/7>>
00001BC8 FFFA .invalid <<F/7/7>>
00001BCA FFFA .invalid <<F/7/7>>
00001BCC FFFA .invalid <<F/7/7>>
00001BCE FFE8 .invalid <<F/7/7>>
00001BD0 FFFA .invalid <<F/7/7>>
00001BD2 FFFA .invalid <<F/7/7>>
00001BD4 FFFA .invalid <<F/7/7>>
00001BD6 FFE4 .invalid <<F/7/7>>
00001BD8 FFCE .invalid <<F/7/7>>
00001BDA FFFA .invalid <<F/7/7>>
00001BDC FFC2 .invalid <<F/7/7>>
00001BDE FFFA .invalid <<F/7/7>>
00001BE0 FFE4 .invalid <<F/7/7>>
00001BE2 FFFA .invalid <<F/7/7>>
00001BE4 FFFA .invalid <<F/7/7>>
00001BE6 FFFA .invalid <<F/7/7>>
00001BE8 FFFA .invalid <<F/7/7>>
00001BEA FFFA .invalid <<F/7/7>>
00001BEC FFFA .invalid <<F/7/7>>
00001BEE FFFA .invalid <<F/7/7>>
00001BF0 FFFA .invalid <<F/7/7>>
00001BF2 FFC8 .invalid <<F/7/7>>
00001BF4 FFE0 .invalid <<F/7/7>>
00001BF6 FFFA .invalid <<F/7/7>>
00001BF8 FFFA .invalid <<F/7/7>>
00001BFA FFFA .invalid <<F/7/7>>
00001BFC FFFA .invalid <<F/7/7>>
00001BFE FFFA .invalid <<F/7/7>>
00001C00 FFFA .invalid <<F/7/7>>
00001C02 FFFA .invalid <<F/7/7>>
00001C04 FFFA .invalid <<F/7/7>>
00001C06 FFFA .invalid <<F/7/7>>
00001C08 FFFA .invalid <<F/7/7>>
00001C0A FFFA .invalid <<F/7/7>>
00001C0C FFFA .invalid <<F/7/7>>
00001C0E FFE8 .invalid <<F/7/7>>
00001C10 FFFA .invalid <<F/7/7>>
00001C12 FFFA .invalid <<F/7/7>>
00001C14 FFFA .invalid <<F/7/7>>
00001C16 FFE4 .invalid <<F/7/7>>
00001C18 FFCE .invalid <<F/7/7>>
00001C1A FFFA .invalid <<F/7/7>>
00001C1C FFC2 .invalid <<F/7/7>>
00001C1E FFFA .invalid <<F/7/7>>
00001C20 FFE4 .invalid <<F/7/7>>
fn00001C22:
00001C22 4E56 0000 link A6, 0
00001C26 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001C2A 206D FB40 movea.l A0, [A5 - 0x4C0]
00001C2E 2850 movea.l A4, [A0]
00001C30 3E2C 0020 move.w D7, [A4 + 0x20]
00001C34 3C2C 0022 move.w D6, [A4 + 0x22]
00001C38 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001C3E 6700 01CC beq +0x1CE /* 00001E0C */
00001C42 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00001C48 670A beq +0xC /* 00001C54 */
00001C4A 0C6E 007F 0008 cmpi.w [A6 + 0x8], 0x7F
00001C50 6E00 01BA bgt +0x1BC /* 00001E0C */
label00001C54:
00001C54 4A2D FB58 tst.b [A5 - 0x4A8]
00001C58 6A14 bpl +0x16 /* 00001C6E */
00001C5A 206D FB6C movea.l A0, [A5 - 0x494]
00001C5E 52AD FB6C addq.l [A5 - 0x494], 1
00001C62 10AE 0009 move.b [A0], [A6 + 0x9]
00001C66 42AD FB70 clr.l [A5 - 0x490]
00001C6A 6000 01A6 bra +0x1A8 /* 00001E12 */
label00001C6E:
00001C6E 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00001C74 6C00 00D2 bge +0xD4 /* 00001D48 */
00001C78 302E 0008 move.w D0, [A6 + 0x8]
00001C7C 5740 subq.w D0, 3
00001C7E 0C40 001C cmpi.w D0, 0x1C
00001C82 6200 018E bhi +0x190 /* 00001E12 */
00001C86 43FA 0192 lea.l A1, [PC + 0x192 /* 00001E1A, value 0xFEEAFEEA */]
00001C8A D040 add.w D0, D0
00001C8C D2F1 0000 add.w A1, [A1 + D0.w]
00001C90 4ED1 jmp [A1]
00001C92 202D FB6C move.l D0, [A5 - 0x494]
00001C96 90AD FB68 sub.l D0, [A5 - 0x498]
00001C9A D1AD FB70 add.l [A5 - 0x490], D0
00001C9E 2B6D FB68 FB6C move.l [A5 - 0x494], [A5 - 0x498]
00001CA4 3E2D FB74 move.w D7, [A5 - 0x48C]
00001CA8 3C2D FB76 move.w D6, [A5 - 0x48A]
00001CAC 6000 009A bra +0x9C /* 00001D48 */
00001CB0 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001CB6 6600 0090 bne +0x92 /* 00001D48 */
00001CBA 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
00001CC0 6600 00F4 bne +0xF6 /* 00001DB6 */
00001CC4 202D FB6C move.l D0, [A5 - 0x494]
00001CC8 B0AD FB68 cmp.l D0, [A5 - 0x498]
00001CCC 6700 013E beq +0x140 /* 00001E0C */
00001CD0 53AD FB6C subq.l [A5 - 0x494], 1
00001CD4 52AD FB70 addq.l [A5 - 0x490], 1
00001CD8 6000 010C bra +0x10E /* 00001DE6 */
00001CDC BC47 cmp.w D6, D7
00001CDE 6600 0106 bne +0x108 /* 00001DE6 */
00001CE2 5347 subq.w D7, 1
00001CE4 6000 0100 bra +0x102 /* 00001DE6 */
00001CE8 BC47 cmp.w D6, D7
00001CEA 6602 bne +0x4 /* 00001CEE */
00001CEC 5246 addq.w D6, 1
label00001CEE:
00001CEE 3E06 move.w D7, D6
00001CF0 6000 00F4 bra +0xF6 /* 00001DE6 */
00001CF4 3E2D FB74 move.w D7, [A5 - 0x48C]
00001CF8 6000 00EC bra +0xEE /* 00001DE6 */
00001CFC 3E2D FB76 move.w D7, [A5 - 0x48A]
00001D00 6000 00E4 bra +0xE6 /* 00001DE6 */
00001D04 3A2D FB76 move.w D5, [A5 - 0x48A]
00001D08 9A6D FB74 sub.w D5, [A5 - 0x48C]
00001D0C 671A beq +0x1C /* 00001D28 */
00001D0E 206C 003E movea.l A0, [A4 + 0x3E]
00001D12 366D FB74 movea.w A3, [A5 - 0x48C]
00001D16 D7D0 add.l A3, [A0]
00001D18 206D FB6C movea.l A0, [A5 - 0x494]
00001D1C 6002 bra +0x4 /* 00001D20 */
label00001D1E:
00001D1E 10DB move.b [A0]+, [A3]+
label00001D20:
00001D20 51CD FFFC dbf D5, -0x6 /* 00001D1E */
00001D24 2B48 FB6C move.l [A5 - 0x494], A0
label00001D28:
00001D28 0C6E 0004 0008 cmpi.w [A6 + 0x8], 0x4
00001D2E 670C beq +0xE /* 00001D3C */
00001D30 206D FB6C movea.l A0, [A5 - 0x494]
00001D34 52AD FB6C addq.l [A5 - 0x494], 1
00001D38 10BC 000A move.b [A0], 0xA /* '\n' */
label00001D3C:
00001D3C 4EBA F944 jsr [PC - 0x6BC /* 00001682 */]
00001D40 42AD FB70 clr.l [A5 - 0x490]
00001D44 6000 00CC bra +0xCE /* 00001E12 */
label00001D48:
00001D48 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001D4E 6728 beq +0x2A /* 00001D78 */
00001D50 BC47 cmp.w D6, D7
00001D52 660A bne +0xC /* 00001D5E */
00001D54 0C6E 0008 0008 cmpi.w [A6 + 0x8], 0x8
00001D5A 661C bne +0x1E /* 00001D78 */
00001D5C 5347 subq.w D7, 1
label00001D5E:
00001D5E BE6D FB74 cmp.w D7, [A5 - 0x48C]
00001D62 6D00 00A8 blt +0xAA /* 00001E0C */
00001D66 BC6D FB76 cmp.w D6, [A5 - 0x48A]
00001D6A 6E00 00A0 bgt +0xA2 /* 00001E0C */
00001D6E 3F06 move.w -[A7], D6
00001D70 3F07 move.w -[A7], D7
00001D72 4EBA F4FC jsr [PC - 0xB04 /* 00001270 */]
00001D76 588F addq.l A7, 4
label00001D78:
00001D78 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00001D7E 6D66 blt +0x68 /* 00001DE6 */
00001D80 302D FB76 move.w D0, [A5 - 0x48A]
00001D84 906D FB74 sub.w D0, [A5 - 0x48C]
00001D88 72FF moveq.l D1, 0xFFFFFFFF
00001D8A D2AD FB70 add.l D1, [A5 - 0x490]
00001D8E 3040 movea.w A0, D0
00001D90 B288 cmp.l D1, A0
00001D92 6608 bne +0xA /* 00001D9C */
00001D94 3F3C 0002 move.w -[A7], 0x2
00001D98 A9C8 syscall SysBeep
00001D9A 604A bra +0x4C /* 00001DE6 */
label00001D9C:
00001D9C 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001DA2 6712 beq +0x14 /* 00001DB6 */
00001DA4 3007 move.w D0, D7
00001DA6 5247 addq.w D7, 1
00001DA8 3F00 move.w -[A7], D0
00001DAA 1F2E 0009 move.b -[A7], [A6 + 0x9]
00001DAE 4EBA F544 jsr [PC - 0xABC /* 000012F4 */]
00001DB2 588F addq.l A7, 4
00001DB4 6030 bra +0x32 /* 00001DE6 */
label00001DB6:
00001DB6 206D FB6C movea.l A0, [A5 - 0x494]
00001DBA 52AD FB6C addq.l [A5 - 0x494], 1
00001DBE 10AE 0009 move.b [A0], [A6 + 0x9]
00001DC2 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
00001DC8 6718 beq +0x1A /* 00001DE2 */
00001DCA 3F3C 0001 move.w -[A7], 0x1
00001DCE 206D FB6C movea.l A0, [A5 - 0x494]
00001DD2 4868 FFFF pea.l [A0 - 0x1]
00001DD6 4EBA F2D2 jsr [PC - 0xD2E /* 000010AA */]
00001DDA 5C8F addq.l A7, 6
00001DDC 42AD FB70 clr.l [A5 - 0x490]
00001DE0 6030 bra +0x32 /* 00001E12 */
label00001DE2:
00001DE2 53AD FB70 subq.l [A5 - 0x490], 1
label00001DE6:
00001DE6 BE6D FB76 cmp.w D7, [A5 - 0x48A]
00001DEA 6F06 ble +0x8 /* 00001DF2 */
00001DEC 3E2D FB76 move.w D7, [A5 - 0x48A]
00001DF0 600A bra +0xC /* 00001DFC */
label00001DF2:
00001DF2 BE6D FB74 cmp.w D7, [A5 - 0x48C]
00001DF6 6C04 bge +0x6 /* 00001DFC */
00001DF8 3E2D FB74 move.w D7, [A5 - 0x48C]
label00001DFC:
00001DFC 3007 move.w D0, D7
00001DFE 906D FB74 sub.w D0, [A5 - 0x48C]
00001E02 3F00 move.w -[A7], D0
00001E04 4EBA F5C6 jsr [PC - 0xA3A /* 000013CC */]
00001E08 548F addq.l A7, 2
00001E0A 6006 bra +0x8 /* 00001E12 */
label00001E0C:
00001E0C 3F3C 0002 move.w -[A7], 0x2
00001E10 A9C8 syscall SysBeep
label00001E12:
00001E12 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00001E16 4E5E unlink A6
00001E18 4E75 rts
00001E1A FEEA FEEA .extension 0xEEA <<F/2-3/7>> // unimplemented
00001E1E FFF8 .invalid <<F/7/7>>
00001E20 FFF8 .invalid <<F/7/7>>
00001E22 FFF8 .invalid <<F/7/7>>
00001E24 FE96 FEE2 .extension 0xE96 <<F/2-3/7>> // unimplemented
00001E28 FFF8 .invalid <<F/7/7>>
00001E2A FFF8 .invalid <<F/7/7>>
00001E2C FFF8 .invalid <<F/7/7>>
00001E2E FEEA FFF8 .extension 0xEEA <<F/2-3/7>> // unimplemented
00001E32 FFF8 .invalid <<F/7/7>>
00001E34 FFF8 .invalid <<F/7/7>>
00001E36 FFF8 .invalid <<F/7/7>>
00001E38 FFF8 .invalid <<F/7/7>>
00001E3A FFF8 .invalid <<F/7/7>>
00001E3C FFF8 .invalid <<F/7/7>>
00001E3E FE78 FFF8 .extension 0xE78 <<F/1/7>>, 0xFFF8 // unimplemented
00001E42 FFF8 .invalid <<F/7/7>>
00001E44 FFF8 .invalid <<F/7/7>>
00001E46 FFF8 .invalid <<F/7/7>>
00001E48 FFF8 .invalid <<F/7/7>>
00001E4A FE78 FEC2 .extension 0xE78 <<F/1/7>>, 0xFEC2 // unimplemented
00001E4E FECE FEDA .extension 0xECE <<F/2-3/7>> // unimplemented
00001E52 FEE2 2F0C .extension 0xEE2 <<F/2-3/7>> // unimplemented
// begin alternate branch 00001E54-00001E56
fn00001E54:
00001E54 2F0C move.l -[A7], A4
// end alternate branch 00001E54-00001E56
fn00001E54: // (misaligned)
00001E56 206D FB40 movea.l A0, [A5 - 0x4C0]
00001E5A 2850 movea.l A4, [A0]
00001E5C 4A6C 0024 tst.w [A4 + 0x24]
00001E60 673C beq +0x3E /* 00001E9E */
00001E62 302C 0020 move.w D0, [A4 + 0x20]
00001E66 B06C 0022 cmp.w D0, [A4 + 0x22]
00001E6A 6C32 bge +0x34 /* 00001E9E */
00001E6C 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001E72 6714 beq +0x16 /* 00001E88 */
00001E74 302C 0020 move.w D0, [A4 + 0x20]
00001E78 B06D FB74 cmp.w D0, [A5 - 0x48C]
00001E7C 6D0A blt +0xC /* 00001E88 */
00001E7E 302C 0022 move.w D0, [A4 + 0x22]
00001E82 B06D FB76 cmp.w D0, [A5 - 0x48A]
00001E86 6F08 ble +0xA /* 00001E90 */
label00001E88:
00001E88 3F3C 0002 move.w -[A7], 0x2
00001E8C A9C8 syscall SysBeep
00001E8E 600E bra +0x10 /* 00001E9E */
label00001E90:
00001E90 4EBA 0010 jsr [PC + 0x10 /* 00001EA2 */]
00001E94 3F3C 0008 move.w -[A7], 0x8
00001E98 4EBA FD88 jsr [PC - 0x278 /* 00001C22 */]
00001E9C 548F addq.l A7, 2
label00001E9E:
00001E9E 285F movea.l A4, [A7]+
00001EA0 4E75 rts
fn00001EA2:
00001EA2 2F0C move.l -[A7], A4
00001EA4 206D FB40 movea.l A0, [A5 - 0x4C0]
00001EA8 2850 movea.l A4, [A0]
00001EAA 4A6C 0024 tst.w [A4 + 0x24]
00001EAE 6730 beq +0x32 /* 00001EE0 */
00001EB0 302C 0020 move.w D0, [A4 + 0x20]
00001EB4 B06C 0022 cmp.w D0, [A4 + 0x22]
00001EB8 6C26 bge +0x28 /* 00001EE0 */
00001EBA 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001EBE A9D5 syscall TECopy
00001EC0 42A7 clr.l -[A7]
00001EC2 A9FC syscall ZeroScrap
00001EC4 4297 clr.l [A7]
00001EC6 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
00001ECA 2F08 move.l -[A7], A0
00001ECC 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00001ED2 4EBA F77E jsr [PC - 0x882 /* 00001652 */]
00001ED6 2F00 move.l -[A7], D0
00001ED8 A9FE syscall PutScrap
00001EDA 4EBA F79E jsr [PC - 0x862 /* 0000167A */]
00001EDE 588F addq.l A7, 4
label00001EE0:
00001EE0 285F movea.l A4, [A7]+
00001EE2 4E75 rts
fn00001EE4:
00001EE4 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001EEA 6720 beq +0x22 /* 00001F0C */
00001EEC 206D FB40 movea.l A0, [A5 - 0x4C0]
00001EF0 2050 movea.l A0, [A0]
00001EF2 3028 0020 move.w D0, [A0 + 0x20]
00001EF6 B06D FB74 cmp.w D0, [A5 - 0x48C]
00001EFA 6D10 blt +0x12 /* 00001F0C */
00001EFC 206D FB40 movea.l A0, [A5 - 0x4C0]
00001F00 2050 movea.l A0, [A0]
00001F02 3028 0022 move.w D0, [A0 + 0x22]
00001F06 B06D FB76 cmp.w D0, [A5 - 0x48A]
00001F0A 6F08 ble +0xA /* 00001F14 */
label00001F0C:
00001F0C 3F3C 0002 move.w -[A7], 0x2
00001F10 A9C8 syscall SysBeep
00001F12 6032 bra +0x34 /* 00001F46 */
label00001F14:
00001F14 42A7 clr.l -[A7]
00001F16 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00001F1A 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00001F20 486D FB4C pea.l [A5 - 0x4B4]
00001F24 A9FD syscall GetScrap
00001F26 201F move.l D0, [A7]+
00001F28 2B40 FB50 move.l [A5 - 0x4B0], D0
00001F2C 4A80 tst.l D0
00001F2E 6F12 ble +0x14 /* 00001F42 */
00001F30 2B78 0AB4 FB48 move.l [A5 - 0x4B8], [0x00000AB4 /* TEScrpHandle */]
00001F36 7000 moveq.l D0, 0x00
00001F38 A122 syscall NewHandle, flags=1
00001F3A 21C8 0AB4 move.l [0x00000AB4 /* TEScrpHandle */], A0
00001F3E 42AD FB4C clr.l [A5 - 0x4B4]
label00001F42:
00001F42 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
label00001F46:
00001F46 4E75 rts
fn00001F48:
00001F48 4A2D FB5B tst.b [A5 - 0x4A5]
00001F4C 6622 bne +0x24 /* 00001F70 */
00001F4E 2F3C C800 0000 move.l -[A7], 0xC8000000
00001F54 A8FD syscall PrGlue
00001F56 4267 clr.w -[A7]
00001F58 2F3C BA00 0000 move.l -[A7], 0xBA000000
00001F5E A8FD syscall PrGlue
00001F60 4A5F tst.w [A7]+
00001F62 660C bne +0xE /* 00001F70 */
00001F64 4EBA 000C jsr [PC + 0xC /* 00001F72 */]
00001F68 2F3C D000 0000 move.l -[A7], 0xD0000000
00001F6E A8FD syscall PrGlue
label00001F70:
00001F70 4E75 rts
fn00001F72:
00001F72 4E56 FDD6 link A6, -0x022A
00001F76 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00001F7A 7078 moveq.l D0, 0x78
00001F7C A122 syscall NewHandle, flags=1
00001F7E 2848 movea.l A4, A0
00001F80 2F0C move.l -[A7], A4
00001F82 2F3C 2004 0480 move.l -[A7], 0x20040480
00001F88 A8FD syscall PrGlue
00001F8A 4AAD FB28 tst.l [A5 - 0x4D8]
00001F8E 6716 beq +0x18 /* 00001FA6 */
00001F90 2F2D FB28 move.l -[A7], [A5 - 0x4D8]
00001F94 2F0C move.l -[A7], A4
00001F96 2F3C 5804 089C move.l -[A7], 0x5804089C
00001F9C A8FD syscall PrGlue
00001F9E 206D FB28 movea.l A0, [A5 - 0x4D8]
00001FA2 A023 syscall DisposHandle/DisposeHandle
00001FA4 601C bra +0x1E /* 00001FC2 */
label00001FA6:
00001FA6 A850 syscall InitCursor
00001FA8 4227 clr.b -[A7]
00001FAA 2F0C move.l -[A7], A4
00001FAC 2F3C 3204 0488 move.l -[A7], 0x32040488
00001FB2 A8FD syscall PrGlue
00001FB4 4A1F tst.b [A7]+
00001FB6 660A bne +0xC /* 00001FC2 */
00001FB8 1B7C 0001 FB5B move.b [A5 - 0x4A5], 0x1
00001FBE 6000 0136 bra +0x138 /* 000020F6 */
label00001FC2:
00001FC2 2B4C FB28 move.l [A5 - 0x4D8], A4
00001FC6 486E FFFC pea.l [A6 - 0x4]
00001FCA A874 syscall GetPort
00001FCC 42A7 clr.l -[A7]
00001FCE 2F0C move.l -[A7], A4
00001FD0 42A7 clr.l -[A7]
00001FD2 42A7 clr.l -[A7]
00001FD4 2F3C 0400 0C00 move.l -[A7], 0x4000C00
00001FDA A8FD syscall PrGlue
00001FDC 265F movea.l A3, [A7]+
00001FDE 206D FB40 movea.l A0, [A5 - 0x4C0]
00001FE2 2450 movea.l A2, [A0]
00001FE4 3F2A 004A move.w -[A7], [A2 + 0x4A]
00001FE8 A887 syscall TextFont
00001FEA 3F2A 0050 move.w -[A7], [A2 + 0x50]
00001FEE A88A syscall TextSize
00001FF0 7000 moveq.l D0, 0x00
00001FF2 102A 004C move.b D0, [A2 + 0x4C]
00001FF6 3F00 move.w -[A7], D0
00001FF8 A888 syscall TextFace
00001FFA 3E2A 001A move.w D7, [A2 + 0x1A]
00001FFE 2054 movea.l A0, [A4]
00002000 2D68 0008 FFF4 move.l [A6 - 0xC], [A0 + 0x8]
00002006 2D68 000C FFF8 move.l [A6 - 0x8], [A0 + 0xC]
0000200C 3C2E FFF8 move.w D6, [A6 - 0x8]
00002010 9C6E FFF4 sub.w D6, [A6 - 0xC]
00002014 48C6 ext.l D6
00002016 8DED FB32 divs.w D6, [A5 - 0x4CE]
0000201A 7024 moveq.l D0, 0x24
0000201C D06E FFF6 add.w D0, [A6 - 0xA]
00002020 3D40 FFF2 move.w [A6 - 0xE], D0
00002024 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
00002028 4EBA 08E8 jsr [PC + 0x8E8 /* 00002912 */]
0000202C 206D FB54 movea.l A0, [A5 - 0x4AC]
00002030 0890 0006 bclr.b [A0], 0x6
00002034 588F addq.l A7, 4
label00002036:
00002036 2F0B move.l -[A7], A3
00002038 42A7 clr.l -[A7]
0000203A 2F3C 1000 0808 move.l -[A7], 0x10000808
00002040 A8FD syscall PrGlue
00002042 302E FFF4 move.w D0, [A6 - 0xC]
00002046 D047 add.w D0, D7
00002048 3D40 FFF0 move.w [A6 - 0x10], D0
0000204C 7A00 moveq.l D5, 0x00
0000204E 602A bra +0x2C /* 0000207A */
label00002050:
00002050 3F2E FFF2 move.w -[A7], [A6 - 0xE]
00002054 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00002058 A893 syscall MoveTo
0000205A 486E FDF0 pea.l [A6 - 0x210]
0000205E 4267 clr.w -[A7]
00002060 486E FDF0 pea.l [A6 - 0x210]
00002064 4EBA 268E jsr [PC + 0x268E /* 000046F4 */]
00002068 5340 subq.w D0, 1
0000206A 548F addq.l A7, 2
0000206C 3E80 move.w [A7], D0
0000206E A885 syscall DrawText
00002070 302D FB32 move.w D0, [A5 - 0x4CE]
00002074 D16E FFF0 add.w [A6 - 0x10], D0
00002078 5245 addq.w D5, 1
label0000207A:
0000207A BC45 cmp.w D6, D5
0000207C 6F18 ble +0x1A /* 00002096 */
0000207E 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
00002082 3F3C 0200 move.w -[A7], 0x200
00002086 486E FDF0 pea.l [A6 - 0x210]
0000208A 4EBA 0A4C jsr [PC + 0xA4C /* 00002AD8 */]
0000208E 4A80 tst.l D0
00002090 4FEF 000A lea.l A7, [A7 + 0xA]
00002094 66BA bne -0x44 /* 00002050 */
label00002096:
00002096 2F0B move.l -[A7], A3
00002098 2F3C 1800 040C move.l -[A7], 0x1800040C
0000209E A8FD syscall PrGlue
000020A0 4267 clr.w -[A7]
000020A2 2F3C BA00 0000 move.l -[A7], 0xBA000000
000020A8 A8FD syscall PrGlue
000020AA 4A5F tst.w [A7]+
000020AC 660C bne +0xE /* 000020BA */
000020AE 206D FB54 movea.l A0, [A5 - 0x4AC]
000020B2 0810 0005 btst.b [A0], 0x5
000020B6 6700 FF7E beq -0x80 /* 00002036 */
label000020BA:
000020BA 2F0B move.l -[A7], A3
000020BC 2F3C 0800 0484 move.l -[A7], 0x8000484
000020C2 A8FD syscall PrGlue
000020C4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000020C8 A873 syscall SetPort
000020CA 2054 movea.l A0, [A4]
000020CC 0C28 0001 0044 cmpi.b [A0 + 0x44], 0x1
000020D2 6622 bne +0x24 /* 000020F6 */
000020D4 4267 clr.w -[A7]
000020D6 2F3C BA00 0000 move.l -[A7], 0xBA000000
000020DC A8FD syscall PrGlue
000020DE 4A5F tst.w [A7]+
000020E0 6614 bne +0x16 /* 000020F6 */
000020E2 2F0C move.l -[A7], A4
000020E4 42A7 clr.l -[A7]
000020E6 42A7 clr.l -[A7]
000020E8 42A7 clr.l -[A7]
000020EA 486E FDD6 pea.l [A6 - 0x22A]
000020EE 2F3C 6005 1480 move.l -[A7], 0x60051480
000020F4 A8FD syscall PrGlue
label000020F6:
000020F6 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
000020FA 4E5E unlink A6
000020FC 4E75 rts
000020FE 4E56 0000 link A6, 0
00002102 7000 moveq.l D0, 0x00
00002104 102E 0009 move.b D0, [A6 + 0x9]
00002108 204D movea.l A0, A5
0000210A D1C0 add.l A0, D0
0000210C 1028 FBEA move.b D0, [A0 - 0x416]
00002110 4880 ext.w D0
00002112 0240 00D0 andi.w D0, 0xD0
00002116 4E5E unlink A6
00002118 4E75 rts
0000211A 4E56 0000 link A6, 0
0000211E 7000 moveq.l D0, 0x00
00002120 102E 0009 move.b D0, [A6 + 0x9]
00002124 204D movea.l A0, A5
00002126 D1C0 add.l A0, D0
00002128 1028 FBEA move.b D0, [A0 - 0x416]
0000212C 4880 ext.w D0
0000212E 0240 00C0 andi.w D0, 0xC0
00002132 4E5E unlink A6
00002134 4E75 rts
00002136 4E56 0000 link A6, 0
0000213A 7000 moveq.l D0, 0x00
0000213C 102E 0009 move.b D0, [A6 + 0x9]
00002140 204D movea.l A0, A5
00002142 D1C0 add.l A0, D0
00002144 1028 FBEA move.b D0, [A0 - 0x416]
00002148 4880 ext.w D0
0000214A 0240 0003 andi.w D0, 0x3
0000214E 4E5E unlink A6
00002150 4E75 rts
00002152 4E56 0000 link A6, 0
00002156 7000 moveq.l D0, 0x00
00002158 102E 0009 move.b D0, [A6 + 0x9]
0000215C 204D movea.l A0, A5
0000215E D1C0 add.l A0, D0
00002160 1028 FBEA move.b D0, [A0 - 0x416]
00002164 4880 ext.w D0
00002166 0240 0010 andi.w D0, 0x10
0000216A 4E5E unlink A6
0000216C 4E75 rts
0000216E 4E56 0000 link A6, 0
00002172 7000 moveq.l D0, 0x00
00002174 102E 0009 move.b D0, [A6 + 0x9]
00002178 204D movea.l A0, A5
0000217A D1C0 add.l A0, D0
0000217C 1028 FBEA move.b D0, [A0 - 0x416]
00002180 4880 ext.w D0
00002182 0240 00D8 andi.w D0, 0xD8
00002186 4E5E unlink A6
00002188 4E75 rts
0000218A 4E56 0000 link A6, 0
0000218E 7000 moveq.l D0, 0x00
00002190 102E 0009 move.b D0, [A6 + 0x9]
00002194 204D movea.l A0, A5
00002196 D1C0 add.l A0, D0
00002198 1028 FBEA move.b D0, [A0 - 0x416]
0000219C 4880 ext.w D0
0000219E 0240 0080 andi.w D0, 0x80
000021A2 4E5E unlink A6
000021A4 4E75 rts
000021A6 4E56 0000 link A6, 0
000021AA 7000 moveq.l D0, 0x00
000021AC 102E 0009 move.b D0, [A6 + 0x9]
000021B0 204D movea.l A0, A5
000021B2 D1C0 add.l A0, D0
000021B4 1028 FBEA move.b D0, [A0 - 0x416]
000021B8 4880 ext.w D0
000021BA 0240 00DC andi.w D0, 0xDC
000021BE 4E5E unlink A6
000021C0 4E75 rts
000021C2 4E56 0000 link A6, 0
000021C6 7000 moveq.l D0, 0x00
000021C8 102E 0009 move.b D0, [A6 + 0x9]
000021CC 204D movea.l A0, A5
000021CE D1C0 add.l A0, D0
000021D0 1028 FBEA move.b D0, [A0 - 0x416]
000021D4 4880 ext.w D0
000021D6 0240 0008 andi.w D0, 0x8
000021DA 4E5E unlink A6
000021DC 4E75 rts
000021DE 4E56 0000 link A6, 0
000021E2 7000 moveq.l D0, 0x00
000021E4 102E 0009 move.b D0, [A6 + 0x9]
000021E8 204D movea.l A0, A5
000021EA D1C0 add.l A0, D0
000021EC 1028 FBEA move.b D0, [A0 - 0x416]
000021F0 4880 ext.w D0
000021F2 0240 0006 andi.w D0, 0x6
000021F6 4E5E unlink A6
000021F8 4E75 rts
000021FA 4E56 0000 link A6, 0
000021FE 7000 moveq.l D0, 0x00
00002200 102E 0009 move.b D0, [A6 + 0x9]
00002204 204D movea.l A0, A5
00002206 D1C0 add.l A0, D0
00002208 1028 FBEA move.b D0, [A0 - 0x416]
0000220C 4880 ext.w D0
0000220E 0240 0040 andi.w D0, 0x40 /* '@' */
00002212 4E5E unlink A6
00002214 4E75 rts
00002216 4E56 0000 link A6, 0
0000221A 7000 moveq.l D0, 0x00
0000221C 102E 0009 move.b D0, [A6 + 0x9]
00002220 204D movea.l A0, A5
00002222 D1C0 add.l A0, D0
00002224 1028 FBEA move.b D0, [A0 - 0x416]
00002228 4880 ext.w D0
0000222A 0240 0030 andi.w D0, 0x30 /* '0' */
0000222E 4E5E unlink A6
00002230 4E75 rts
00002232 4E56 0000 link A6, 0
00002236 7000 moveq.l D0, 0x00
00002238 102E 0009 move.b D0, [A6 + 0x9]
0000223C 204D movea.l A0, A5
0000223E D1C0 add.l A0, D0
00002240 4A28 FBEA tst.b [A0 - 0x416]
00002244 6A0A bpl +0xC /* 00002250 */
00002246 302E 0008 move.w D0, [A6 + 0x8]
0000224A 0A40 0020 xori.w D0, 0x20 /* ' ' */
0000224E 6004 bra +0x6 /* 00002254 */
label00002250:
00002250 302E 0008 move.w D0, [A6 + 0x8]
label00002254:
00002254 4E5E unlink A6
00002256 4E75 rts
00002258 4E56 0000 link A6, 0
0000225C 7000 moveq.l D0, 0x00
0000225E 102E 0009 move.b D0, [A6 + 0x9]
00002262 204D movea.l A0, A5
00002264 D1C0 add.l A0, D0
00002266 0828 0006 FBEA btst.b [A0 - 0x416], 0x6
0000226C 670A beq +0xC /* 00002278 */
0000226E 302E 0008 move.w D0, [A6 + 0x8]
00002272 0A40 0020 xori.w D0, 0x20 /* ' ' */
00002276 6004 bra +0x6 /* 0000227C */
label00002278:
00002278 302E 0008 move.w D0, [A6 + 0x8]
label0000227C:
0000227C 4E5E unlink A6
0000227E 4E75 rts
00002280 4E56 FECE link A6, -0x0132
00002284 486E FECE pea.l [A6 - 0x132]
00002288 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000228C 4EBA 21BC jsr [PC + 0x21BC /* 0000444A */]
00002290 2D40 FFE0 move.l [A6 - 0x20], D0
00002294 426E FFE4 clr.w [A6 - 0x1C]
00002298 422E FFE8 clr.b [A6 - 0x18]
0000229C 41EE FFCE lea.l A0, [A6 - 0x32]
000022A0 A009 syscall Delete/PBHDelete/HDelete
000022A2 4A40 tst.w D0
000022A4 508F addq.l A7, 8
000022A6 670A beq +0xC /* 000022B2 */
000022A8 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000022AE 70FF moveq.l D0, 0xFFFFFFFF
000022B0 6002 bra +0x4 /* 000022B4 */
label000022B2:
000022B2 7000 moveq.l D0, 0x00
label000022B4:
000022B4 4E5E unlink A6
000022B6 4E75 rts
000022B8 4E56 FDCE link A6, -0x0232
000022BC 486E FECE pea.l [A6 - 0x132]
000022C0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000022C4 4EBA 2184 jsr [PC + 0x2184 /* 0000444A */]
000022C8 2D40 FFE0 move.l [A6 - 0x20], D0
000022CC 426E FFE4 clr.w [A6 - 0x1C]
000022D0 422E FFE8 clr.b [A6 - 0x18]
000022D4 486E FDCE pea.l [A6 - 0x232]
000022D8 2F2E 000C move.l -[A7], [A6 + 0xC]
000022DC 4EBA 216C jsr [PC + 0x216C /* 0000444A */]
000022E0 2D40 FFEA move.l [A6 - 0x16], D0
000022E4 41EE FFCE lea.l A0, [A6 - 0x32]
000022E8 A00B syscall Rename/PBHRename/HRename
000022EA 4A40 tst.w D0
000022EC 4FEF 0010 lea.l A7, [A7 + 0x10]
000022F0 670A beq +0xC /* 000022FC */
000022F2 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000022F8 70FF moveq.l D0, 0xFFFFFFFF
000022FA 6002 bra +0x4 /* 000022FE */
label000022FC:
000022FC 7000 moveq.l D0, 0x00
label000022FE:
000022FE 4E5E unlink A6
00002300 4E75 rts
fn00002302:
00002302 4E56 FFEC link A6, -0x0014
00002306 2F0C move.l -[A7], A4
00002308 486D FCEC pea.l [A5 - 0x314]
0000230C 486D FD04 pea.l [A5 - 0x2FC]
00002310 486E FFEC pea.l [A6 - 0x14]
00002314 4EBA 0054 jsr [PC + 0x54 /* 0000236A */]
00002318 4A80 tst.l D0
0000231A 4FEF 000C lea.l A7, [A7 + 0xC]
0000231E 671C beq +0x1E /* 0000233C */
00002320 486D FD0C pea.l [A5 - 0x2F4]
00002324 486E FFEC pea.l [A6 - 0x14]
00002328 4EBA 00C4 jsr [PC + 0xC4 /* 000023EE */]
0000232C 2840 movea.l A4, D0
0000232E 200C move.l D0, A4
00002330 508F addq.l A7, 8
00002332 6708 beq +0xA /* 0000233C */
00002334 08D4 0000 bset.b [A4], 0x0
00002338 200C move.l D0, A4
0000233A 6002 bra +0x4 /* 0000233E */
label0000233C:
0000233C 7000 moveq.l D0, 0x00
label0000233E:
0000233E 285F movea.l A4, [A7]+
00002340 4E5E unlink A6
00002342 4E75 rts
00002344 4E56 0000 link A6, 0
00002348 4AAE 0008 tst.l [A6 + 0x8]
0000234C 6608 bne +0xA /* 00002356 */
0000234E 41ED FCEE lea.l A0, [A5 - 0x312]
00002352 2D48 0008 move.l [A6 + 0x8], A0
label00002356:
00002356 486D FD02 pea.l [A5 - 0x2FE]
0000235A 486D FD10 pea.l [A5 - 0x2F0]
0000235E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002362 4EBA 0006 jsr [PC + 0x6 /* 0000236A */]
00002366 4E5E unlink A6
00002368 4E75 rts
fn0000236A:
0000236A 4E56 FFB0 link A6, -0x0050
0000236E 48E7 0118 movem.l -[A7], D7,A3,A4
00002372 286E 0008 movea.l A4, [A6 + 0x8]
00002376 266E 0010 movea.l A3, [A6 + 0x10]
0000237A 3E13 move.w D7, [A3]
0000237C 2F2E 000C move.l -[A7], [A6 + 0xC]
00002380 4EBA 2372 jsr [PC + 0x2372 /* 000046F4 */]
00002384 5800 addq.b D0, 4
00002386 1880 move.b [A4], D0
00002388 2D4C FFC2 move.l [A6 - 0x3E], A4
0000238C 426E FFC6 clr.w [A6 - 0x3A]
00002390 422E FFCA clr.b [A6 - 0x36]
00002394 426E FFCC clr.w [A6 - 0x34]
00002398 588F addq.l A7, 4
label0000239A:
0000239A 5253 addq.w [A3], 1
0000239C 0C53 270F cmpi.w [A3], 0x270F
000023A0 6F04 ble +0x6 /* 000023A6 */
000023A2 36BC 0001 move.w [A3], 0x1
label000023A6:
000023A6 BE53 cmp.w D7, [A3]
000023A8 6604 bne +0x6 /* 000023AE */
000023AA 7000 moveq.l D0, 0x00
000023AC 6036 bra +0x38 /* 000023E4 */
label000023AE:
000023AE 3F13 move.w -[A7], [A3]
000023B0 2F2E 000C move.l -[A7], [A6 + 0xC]
000023B4 486D FD16 pea.l [A5 - 0x2EA]
000023B8 486C 0001 pea.l [A4 + 0x1]
000023BC 4EBA 213A jsr [PC + 0x213A /* 000044F8 */]
000023C0 4FEF 000E lea.l A7, [A7 + 0xE]
000023C4 41EE FFB0 lea.l A0, [A6 - 0x50]
000023C8 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000023CA 0C40 FFD5 cmpi.w D0, 0xFFD5
000023CE 66CA bne -0x34 /* 0000239A */
000023D0 7000 moveq.l D0, 0x00
000023D2 1014 move.b D0, [A4]
000023D4 3040 movea.w A0, D0
000023D6 4868 0001 pea.l [A0 + 0x1]
000023DA 486C 0001 pea.l [A4 + 0x1]
000023DE 2F0C move.l -[A7], A4
000023E0 4EBA 0A7E jsr [PC + 0xA7E /* 00002E60 */]
label000023E4:
000023E4 4CEE 1880 FFA4 movem.l D7,A3,A4, [A6 - 0x5C]
000023EA 4E5E unlink A6
000023EC 4E75 rts
fn000023EE:
000023EE 4E56 0000 link A6, 0
000023F2 4EBA 083E jsr [PC + 0x83E /* 00002C32 */]
000023F6 2F00 move.l -[A7], D0
000023F8 2F2E 000C move.l -[A7], [A6 + 0xC]
000023FC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002400 4EBA 0006 jsr [PC + 0x6 /* 00002408 */]
00002404 4E5E unlink A6
00002406 4E75 rts
fn00002408:
00002408 4E56 0000 link A6, 0
0000240C 48E7 0308 movem.l -[A7], D6,D7,A4
00002410 286E 000C movea.l A4, [A6 + 0xC]
00002414 0C14 0072 cmpi.b [A4], 0x72 /* 'r' */
00002418 6606 bne +0x8 /* 00002420 */
0000241A 7E01 moveq.l D7, 0x01
0000241C 7C00 moveq.l D6, 0x00
0000241E 6022 bra +0x24 /* 00002442 */
label00002420:
00002420 0C14 0077 cmpi.b [A4], 0x77 /* 'w' */
00002424 6606 bne +0x8 /* 0000242C */
00002426 7E02 moveq.l D7, 0x02
00002428 7C03 moveq.l D6, 0x03
0000242A 6016 bra +0x18 /* 00002442 */
label0000242C:
0000242C 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
00002430 6606 bne +0x8 /* 00002438 */
00002432 7E02 moveq.l D7, 0x02
00002434 7C09 moveq.l D6, 0x09
00002436 600A bra +0xC /* 00002442 */
label00002438:
00002438 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
0000243E 7000 moveq.l D0, 0x00
00002440 603E bra +0x40 /* 00002480 */
label00002442:
00002442 0C2C 0062 0001 cmpi.b [A4 + 0x1], 0x62 /* 'b' */
00002448 6610 bne +0x12 /* 0000245A */
0000244A 0046 0010 ori.w D6, 0x10
0000244E 0C2C 002B 0002 cmpi.b [A4 + 0x2], 0x2B /* '+' */
00002454 661A bne +0x1C /* 00002470 */
00002456 7E03 moveq.l D7, 0x03
00002458 6016 bra +0x18 /* 00002470 */
label0000245A:
0000245A 0C2C 002B 0001 cmpi.b [A4 + 0x1], 0x2B /* '+' */
00002460 660E bne +0x10 /* 00002470 */
00002462 7E03 moveq.l D7, 0x03
00002464 0C2C 0062 0002 cmpi.b [A4 + 0x2], 0x62 /* 'b' */
0000246A 6604 bne +0x6 /* 00002470 */
0000246C 0046 0010 ori.w D6, 0x10
label00002470:
00002470 2F2E 0010 move.l -[A7], [A6 + 0x10]
00002474 3F06 move.w -[A7], D6
00002476 3F07 move.w -[A7], D7
00002478 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000247C 4EBA 000C jsr [PC + 0xC /* 0000248A */]
label00002480:
00002480 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00002486 4E5E unlink A6
00002488 4E75 rts
fn0000248A:
0000248A 4E56 FECE link A6, -0x0132
0000248E 48E7 0108 movem.l -[A7], D7,A4
00002492 3E2E 000E move.w D7, [A6 + 0xE]
00002496 286E 0010 movea.l A4, [A6 + 0x10]
0000249A 200C move.l D0, A4
0000249C 6606 bne +0x8 /* 000024A4 */
0000249E 7000 moveq.l D0, 0x00
000024A0 6000 00FE bra +0x100 /* 000025A0 */
label000024A4:
000024A4 2F0C move.l -[A7], A4
000024A6 4EBA 0942 jsr [PC + 0x942 /* 00002DEA */]
000024AA 486E FECE pea.l [A6 - 0x132]
000024AE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000024B2 4EBA 1F96 jsr [PC + 0x1F96 /* 0000444A */]
000024B6 2D40 FFE0 move.l [A6 - 0x20], D0
000024BA 426E FFE4 clr.w [A6 - 0x1C]
000024BE 422E FFE8 clr.b [A6 - 0x18]
000024C2 1D6E 000D FFE9 move.b [A6 - 0x17], [A6 + 0xD]
000024C8 42AE FFEA clr.l [A6 - 0x16]
000024CC 0807 0000 btst.b D7, 0x0
000024D0 4FEF 000C lea.l A7, [A7 + 0xC]
000024D4 6732 beq +0x34 /* 00002508 */
000024D6 41EE FFCE lea.l A0, [A6 - 0x32]
000024DA A008 syscall Create/PBHCreate/HCreate
000024DC 4A6E FFDE tst.w [A6 - 0x22]
000024E0 6606 bne +0x8 /* 000024E8 */
000024E2 0247 FFFD andi.w D7, 0xFFFD
000024E6 6020 bra +0x22 /* 00002508 */
label000024E8:
000024E8 0C6E FFD0 FFDE cmpi.w [A6 - 0x22], 0xFFD0
000024EE 660C bne +0xE /* 000024FC */
000024F0 0807 0002 btst.b D7, 0x2
000024F4 6606 bne +0x8 /* 000024FC */
000024F6 0247 FFFE andi.w D7, 0xFFFE
000024FA 600C bra +0xE /* 00002508 */
label000024FC:
000024FC 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
00002502 7000 moveq.l D0, 0x00
00002504 6000 009A bra +0x9C /* 000025A0 */
label00002508:
00002508 41EE FFCE lea.l A0, [A6 - 0x32]
0000250C A000 syscall Open/PBHOpen/HOpen
0000250E 4A6E FFDE tst.w [A6 - 0x22]
00002512 6716 beq +0x18 /* 0000252A */
00002514 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
0000251A 0807 0000 btst.b D7, 0x0
0000251E 6706 beq +0x8 /* 00002526 */
00002520 41EE FFCE lea.l A0, [A6 - 0x32]
00002524 A009 syscall Delete/PBHDelete/HDelete
label00002526:
00002526 7000 moveq.l D0, 0x00
00002528 6076 bra +0x78 /* 000025A0 */
label0000252A:
0000252A 396E FFE6 0004 move.w [A4 + 0x4], [A6 - 0x1A]
00002530 0807 0001 btst.b D7, 0x1
00002534 6708 beq +0xA /* 0000253E */
00002536 41EE FFCE lea.l A0, [A6 - 0x32]
0000253A A012 syscall SetEOF
0000253C 600C bra +0xE /* 0000254A */
label0000253E:
0000253E 0807 0000 btst.b D7, 0x0
00002542 6606 bne +0x8 /* 0000254A */
00002544 41EE FFCE lea.l A0, [A6 - 0x32]
00002548 A011 syscall GetEOF
label0000254A:
0000254A 296E FFEA 001A move.l [A4 + 0x1A], [A6 - 0x16]
00002550 0807 0003 btst.b D7, 0x3
00002554 670A beq +0xC /* 00002560 */
00002556 08D4 0001 bset.b [A4], 0x1
0000255A 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label00002560:
00002560 0807 0004 btst.b D7, 0x4
00002564 6704 beq +0x6 /* 0000256A */
00002566 08D4 0006 bset.b [A4], 0x6
label0000256A:
0000256A 4878 0200 push.l 0x200
0000256E 4267 clr.w -[A7]
00002570 42A7 clr.l -[A7]
00002572 2F0C move.l -[A7], A4
00002574 4EBA 079A jsr [PC + 0x79A /* 00002D10 */]
00002578 41ED 00D2 lea.l A0, [A5 + 0xD2 /* export_22 */]
0000257C 2948 0022 move.l [A4 + 0x22], A0
00002580 7003 moveq.l D0, 0x03
00002582 C047 and.w D0, D7
00002584 4FEF 000E lea.l A7, [A7 + 0xE]
00002588 670C beq +0xE /* 00002596 */
0000258A 3F07 move.w -[A7], D7
0000258C 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00002590 4EBA 0018 jsr [PC + 0x18 /* 000025AA */]
00002594 5C8F addq.l A7, 6
label00002596:
00002596 486D 00DA pea.l [A5 + 0xDA /* export_23 */]
0000259A 4EBA DDE0 jsr [PC - 0x2220 /* 0000037C */]
0000259E 200C move.l D0, A4
label000025A0:
000025A0 4CEE 1080 FEC6 movem.l D7,A4, [A6 - 0x13A]
000025A6 4E5E unlink A6
000025A8 4E75 rts
fn000025AA:
000025AA 4E56 FFB0 link A6, -0x0050
000025AE 2D6E 0008 FFC2 move.l [A6 - 0x3E], [A6 + 0x8]
000025B4 426E FFC6 clr.w [A6 - 0x3A]
000025B8 422E FFCA clr.b [A6 - 0x36]
000025BC 426E FFCC clr.w [A6 - 0x34]
000025C0 41EE FFB0 lea.l A0, [A6 - 0x50]
000025C4 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000025C6 4A40 tst.w D0
000025C8 6624 bne +0x26 /* 000025EE */
000025CA 082E 0004 000D btst.b [A6 + 0xD], 0x4
000025D0 6708 beq +0xA /* 000025DA */
000025D2 2D6D FD1E FFD0 move.l [A6 - 0x30], [A5 - 0x2E2]
000025D8 6008 bra +0xA /* 000025E2 */
label000025DA:
000025DA 2D7C 5445 5854 FFD0 move.l [A6 - 0x30], 0x54455854 /* 'TEXT' */
label000025E2:
000025E2 2D6D FD22 FFD4 move.l [A6 - 0x2C], [A5 - 0x2DE]
000025E8 41EE FFB0 lea.l A0, [A6 - 0x50]
000025EC A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000025EE:
000025EE 4E5E unlink A6
000025F0 4E75 rts
export_23:
000025F2 48E7 0108 movem.l -[A7], D7,A4
000025F6 49ED FD26 lea.l A4, [A5 - 0x2DA]
000025FA 7E0F moveq.l D7, 0x0F
000025FC 600C bra +0xE /* 0000260A */
label000025FE:
000025FE 2F0C move.l -[A7], A4
00002600 4EBA 07E8 jsr [PC + 0x7E8 /* 00002DEA */]
00002604 588F addq.l A7, 4
00002606 49EC 0026 lea.l A4, [A4 + 0x26]
label0000260A:
0000260A 3007 move.w D0, D7
0000260C 5347 subq.w D7, 1
0000260E 4A40 tst.w D0
00002610 66EC bne -0x12 /* 000025FE */
00002612 4CDF 1080 movem.l D7,A4, [A7]+
00002616 4E75 rts
export_22:
00002618 4E56 FFCE link A6, -0x0032
0000261C 2F0C move.l -[A7], A4
0000261E 286E 0008 movea.l A4, [A6 + 0x8]
00002622 3D6C 0004 FFE6 move.w [A6 - 0x1A], [A4 + 0x4]
00002628 302E 000C move.w D0, [A6 + 0xC]
0000262C 6712 beq +0x14 /* 00002640 */
0000262E 6B00 0112 bmi +0x114 /* 00002742 */
00002632 5540 subq.w D0, 2
00002634 6700 0100 beq +0x102 /* 00002736 */
00002638 6A00 0108 bpl +0x10A /* 00002742 */
0000263C 6000 0080 bra +0x82 /* 000026BE */
label00002640:
00002640 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
00002646 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
0000264C 4A6C 0004 tst.w [A4 + 0x4]
00002650 6F04 ble +0x6 /* 00002656 */
00002652 7001 moveq.l D0, 0x01
00002654 6002 bra +0x4 /* 00002658 */
label00002656:
00002656 7000 moveq.l D0, 0x00
label00002658:
00002658 3D40 FFFA move.w [A6 - 0x6], D0
0000265C 202C 0016 move.l D0, [A4 + 0x16]
00002660 90AC 0012 sub.l D0, [A4 + 0x12]
00002664 2D40 FFFC move.l [A6 - 0x4], D0
00002668 41EE FFCE lea.l A0, [A6 - 0x32]
0000266C A002 syscall Read
0000266E 0C6E FFD9 FFDE cmpi.w [A6 - 0x22], 0xFFD9
00002674 661E bne +0x20 /* 00002694 */
00002676 296E FFFC 0016 move.l [A4 + 0x16], [A6 - 0x4]
0000267C 296E FFF6 0012 move.l [A4 + 0x12], [A6 - 0xA]
00002682 6706 beq +0x8 /* 0000268A */
00002684 426E FFDE clr.w [A6 - 0x22]
00002688 600A bra +0xC /* 00002694 */
label0000268A:
0000268A 08D4 0005 bset.b [A4], 0x5
0000268E 70FF moveq.l D0, 0xFFFFFFFF
00002690 6000 00DA bra +0xDC /* 0000276C */
label00002694:
00002694 4A6E FFDE tst.w [A6 - 0x22]
00002698 6600 00A8 bne +0xAA /* 00002742 */
0000269C 0814 0006 btst.b [A4], 0x6
000026A0 6600 00A0 bne +0xA2 /* 00002742 */
000026A4 2F3C 000D 000A move.l -[A7], 0xD000A /* '\r\0\n' */
000026AA 2F2C 0012 move.l -[A7], [A4 + 0x12]
000026AE 2F2C 000E move.l -[A7], [A4 + 0xE]
000026B2 4EBA 0192 jsr [PC + 0x192 /* 00002846 */]
000026B6 4FEF 000C lea.l A7, [A7 + 0xC]
000026BA 6000 0086 bra +0x88 /* 00002742 */
label000026BE:
000026BE 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
000026C4 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
000026CA 4A6C 0004 tst.w [A4 + 0x4]
000026CE 6F04 ble +0x6 /* 000026D4 */
000026D0 7001 moveq.l D0, 0x01
000026D2 6002 bra +0x4 /* 000026D6 */
label000026D4:
000026D4 7000 moveq.l D0, 0x00
label000026D6:
000026D6 3D40 FFFA move.w [A6 - 0x6], D0
000026DA 202C 0016 move.l D0, [A4 + 0x16]
000026DE 90AC 0012 sub.l D0, [A4 + 0x12]
000026E2 2D40 FFFC move.l [A6 - 0x4], D0
000026E6 B0AC 001A cmp.l D0, [A4 + 0x1A]
000026EA 6310 bls +0x12 /* 000026FC */
000026EC 2D6E FFFC FFEA move.l [A6 - 0x16], [A6 - 0x4]
000026F2 41EE FFCE lea.l A0, [A6 - 0x32]
000026F6 A012 syscall SetEOF
000026F8 4A40 tst.w D0
000026FA 6646 bne +0x48 /* 00002742 */
label000026FC:
000026FC 0814 0006 btst.b [A4], 0x6
00002700 6616 bne +0x18 /* 00002718 */
00002702 2F3C 000A 000D move.l -[A7], 0xA000D /* '\n\0\r' */
00002708 2F2C 0012 move.l -[A7], [A4 + 0x12]
0000270C 2F2C 000E move.l -[A7], [A4 + 0xE]
00002710 4EBA 0134 jsr [PC + 0x134 /* 00002846 */]
00002714 4FEF 000C lea.l A7, [A7 + 0xC]
label00002718:
00002718 41EE FFCE lea.l A0, [A6 - 0x32]
0000271C A003 syscall Write
0000271E 4A6E FFDE tst.w [A6 - 0x22]
00002722 661E bne +0x20 /* 00002742 */
00002724 202E FFFC move.l D0, [A6 - 0x4]
00002728 B0AC 001A cmp.l D0, [A4 + 0x1A]
0000272C 6314 bls +0x16 /* 00002742 */
0000272E 296E FFFC 001A move.l [A4 + 0x1A], [A6 - 0x4]
00002734 600C bra +0xE /* 00002742 */
label00002736:
00002736 2F0C move.l -[A7], A4
00002738 4EBA 0038 jsr [PC + 0x38 /* 00002772 */]
0000273C 3D40 FFDE move.w [A6 - 0x22], D0
00002740 588F addq.l A7, 4
label00002742:
00002742 4A6E FFDE tst.w [A6 - 0x22]
00002746 6722 beq +0x24 /* 0000276A */
00002748 0C6E 0002 000C cmpi.w [A6 + 0xC], 0x2
0000274E 6C0C bge +0xE /* 0000275C */
00002750 202C 0012 move.l D0, [A4 + 0x12]
00002754 91AC 0016 sub.l [A4 + 0x16], D0
00002758 42AC 0012 clr.l [A4 + 0x12]
label0000275C:
0000275C 08D4 0004 bset.b [A4], 0x4
00002760 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
00002766 70FF moveq.l D0, 0xFFFFFFFF
00002768 6002 bra +0x4 /* 0000276C */
label0000276A:
0000276A 7000 moveq.l D0, 0x00
label0000276C:
0000276C 285F movea.l A4, [A7]+
0000276E 4E5E unlink A6
00002770 4E75 rts
fn00002772:
00002772 4E56 FEB0 link A6, -0x0150
00002776 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
0000277A 2E2E 0008 move.l D7, [A6 + 0x8]
0000277E 2047 movea.l A0, D7
00002780 3668 0004 movea.w A3, [A0 + 0x4]
00002784 D7F8 034E add.l A3, [0x0000034E /* FCBSPtr */]
00002788 246B 0014 movea.l A2, [A3 + 0x14]
0000278C 7C00 moveq.l D6, 0x00
0000278E 3D6A 004E FFC6 move.w [A6 - 0x3A], [A2 + 0x4E]
00002794 2047 movea.l A0, D7
00002796 0810 0000 btst.b [A0], 0x0
0000279A 6768 beq +0x6A /* 00002804 */
0000279C 41EE FEB0 lea.l A0, [A6 - 0x150]
000027A0 2D48 FFC2 move.l [A6 - 0x3E], A0
000027A4 422E FFCA clr.b [A6 - 0x36]
000027A8 0C6A 4244 0008 cmpi.w [A2 + 0x8], 0x4244 /* 'BD' */
000027AE 6626 bne +0x28 /* 000027D6 */
000027B0 2D6B 003A FFE0 move.l [A6 - 0x20], [A3 + 0x3A]
000027B6 49EB 003E lea.l A4, [A3 + 0x3E]
000027BA 7000 moveq.l D0, 0x00
000027BC 1014 move.b D0, [A4]
000027BE 3040 movea.w A0, D0
000027C0 4868 0001 pea.l [A0 + 0x1]
000027C4 2F0C move.l -[A7], A4
000027C6 486E FEB0 pea.l [A6 - 0x150]
000027CA 4EBA 067C jsr [PC + 0x67C /* 00002E48 */]
000027CE 7C02 moveq.l D6, 0x02
000027D0 4FEF 000C lea.l A7, [A7 + 0xC]
000027D4 602E bra +0x30 /* 00002804 */
label000027D6:
000027D6 0C6A D2D7 0008 cmpi.w [A2 + 0x8], 0xD2D7
000027DC 6626 bne +0x28 /* 00002804 */
000027DE 3D7C 0001 FFCC move.w [A6 - 0x34], 0x1
label000027E4:
000027E4 41EE FFB0 lea.l A0, [A6 - 0x50]
000027E8 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000027EA 4A40 tst.w D0
000027EC 6616 bne +0x18 /* 00002804 */
000027EE 2047 movea.l A0, D7
000027F0 302E FFC8 move.w D0, [A6 - 0x38]
000027F4 B068 0004 cmp.w D0, [A0 + 0x4]
000027F8 6604 bne +0x6 /* 000027FE */
000027FA 7C01 moveq.l D6, 0x01
000027FC 6006 bra +0x8 /* 00002804 */
label000027FE:
000027FE 526E FFCC addq.w [A6 - 0x34], 1
00002802 60E0 bra -0x1E /* 000027E4 */
label00002804:
00002804 2047 movea.l A0, D7
00002806 3D68 0004 FFC8 move.w [A6 - 0x38], [A0 + 0x4]
0000280C 41EE FFB0 lea.l A0, [A6 - 0x50]
00002810 A001 syscall Close
00002812 4A40 tst.w D0
00002814 6624 bne +0x26 /* 0000283A */
00002816 0C06 0001 cmpi.b D6, 0x1
0000281A 6608 bne +0xA /* 00002824 */
0000281C 41EE FFB0 lea.l A0, [A6 - 0x50]
00002820 A009 syscall Delete/PBHDelete/HDelete
00002822 600C bra +0xE /* 00002830 */
label00002824:
00002824 0C06 0002 cmpi.b D6, 0x2
00002828 6606 bne +0x8 /* 00002830 */
0000282A 41EE FFB0 lea.l A0, [A6 - 0x50]
0000282E A209 syscall Delete/PBHDelete/HDelete, flags=2
label00002830:
00002830 42AE FFC2 clr.l [A6 - 0x3E]
00002834 41EE FFB0 lea.l A0, [A6 - 0x50]
00002838 A013 syscall FlushVol
label0000283A:
0000283A 302E FFC0 move.w D0, [A6 - 0x40]
0000283E 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
00002842 4E5E unlink A6
00002844 4E75 rts
fn00002846:
00002846 4E56 0000 link A6, 0
0000284A 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000284E 2E2E 000C move.l D7, [A6 + 0xC]
00002852 3C2E 0010 move.w D6, [A6 + 0x10]
00002856 3A2E 0012 move.w D5, [A6 + 0x12]
0000285A 286E 0008 movea.l A4, [A6 + 0x8]
0000285E 600A bra +0xC /* 0000286A */
label00002860:
00002860 16C5 move.b [A3]+, D5
00002862 200B move.l D0, A3
00002864 908C sub.l D0, A4
00002866 9E80 sub.l D7, D0
00002868 284B movea.l A4, A3
label0000286A:
0000286A 4A87 tst.l D7
0000286C 6714 beq +0x16 /* 00002882 */
0000286E 2F07 move.l -[A7], D7
00002870 3F06 move.w -[A7], D6
00002872 2F0C move.l -[A7], A4
00002874 4EBA 0632 jsr [PC + 0x632 /* 00002EA8 */]
00002878 2640 movea.l A3, D0
0000287A 200B move.l D0, A3
0000287C 4FEF 000A lea.l A7, [A7 + 0xA]
00002880 66DE bne -0x20 /* 00002860 */
label00002882:
00002882 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00002886 4E5E unlink A6
00002888 4E75 rts
fn0000288A:
0000288A 4E56 0000 link A6, 0
0000288E 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00002892 2E2E 000C move.l D7, [A6 + 0xC]
00002896 286E 0008 movea.l A4, [A6 + 0x8]
0000289A 3C2E 0010 move.w D6, [A6 + 0x10]
0000289E 2A2C 0016 move.l D5, [A4 + 0x16]
000028A2 9AAC 0012 sub.l D5, [A4 + 0x12]
000028A6 4A6C 0004 tst.w [A4 + 0x4]
000028AA 6E0A bgt +0xC /* 000028B6 */
000028AC 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
000028B2 70FF moveq.l D0, 0xFFFFFFFF
000028B4 603C bra +0x3E /* 000028F2 */
label000028B6:
000028B6 2F0C move.l -[A7], A4
000028B8 4EBA 04DC jsr [PC + 0x4DC /* 00002D96 */]
000028BC 0C46 0001 cmpi.w D6, 0x1
000028C0 588F addq.l A7, 4
000028C2 6604 bne +0x6 /* 000028C8 */
000028C4 DE85 add.l D7, D5
000028C6 6012 bra +0x14 /* 000028DA */
label000028C8:
000028C8 0C46 0002 cmpi.w D6, 0x2
000028CC 6606 bne +0x8 /* 000028D4 */
000028CE DEAC 001A add.l D7, [A4 + 0x1A]
000028D2 6006 bra +0x8 /* 000028DA */
label000028D4:
000028D4 4A46 tst.w D6
000028D6 6702 beq +0x4 /* 000028DA */
000028D8 7EFF moveq.l D7, 0xFFFFFFFF
label000028DA:
000028DA 4A87 tst.l D7
000028DC 6C0A bge +0xC /* 000028E8 */
000028DE 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
000028E4 70FF moveq.l D0, 0xFFFFFFFF
000028E6 600A bra +0xC /* 000028F2 */
label000028E8:
000028E8 2947 0016 move.l [A4 + 0x16], D7
000028EC 0894 0005 bclr.b [A4], 0x5
000028F0 7000 moveq.l D0, 0x00
label000028F2:
000028F2 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
000028F6 4E5E unlink A6
000028F8 4E75 rts
000028FA 4E56 0000 link A6, 0
000028FE 4267 clr.w -[A7]
00002900 206E 000C movea.l A0, [A6 + 0xC]
00002904 2F10 move.l -[A7], [A0]
00002906 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000290A 4EBA FF7E jsr [PC - 0x82 /* 0000288A */]
0000290E 4E5E unlink A6
00002910 4E75 rts
fn00002912:
00002912 4E56 0000 link A6, 0
00002916 4267 clr.w -[A7]
00002918 42A7 clr.l -[A7]
0000291A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000291E 4EBA FF6A jsr [PC - 0x96 /* 0000288A */]
00002922 206E 0008 movea.l A0, [A6 + 0x8]
00002926 0890 0004 bclr.b [A0], 0x4
0000292A 4E5E unlink A6
0000292C 4E75 rts
0000292E 4E56 0000 link A6, 0
00002932 206E 0008 movea.l A0, [A6 + 0x8]
00002936 4A68 0004 tst.w [A0 + 0x4]
0000293A 6E0A bgt +0xC /* 00002946 */
0000293C 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
00002942 70FF moveq.l D0, 0xFFFFFFFF
00002944 600C bra +0xE /* 00002952 */
label00002946:
00002946 206E 0008 movea.l A0, [A6 + 0x8]
0000294A 2028 0016 move.l D0, [A0 + 0x16]
0000294E 90A8 0012 sub.l D0, [A0 + 0x12]
label00002952:
00002952 4E5E unlink A6
00002954 4E75 rts
00002956 4E56 0000 link A6, 0
0000295A 206E 0008 movea.l A0, [A6 + 0x8]
0000295E 4A68 0004 tst.w [A0 + 0x4]
00002962 6E0A bgt +0xC /* 0000296E */
00002964 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
0000296A 70FF moveq.l D0, 0xFFFFFFFF
0000296C 6014 bra +0x16 /* 00002982 */
label0000296E:
0000296E 206E 0008 movea.l A0, [A6 + 0x8]
00002972 2028 0016 move.l D0, [A0 + 0x16]
00002976 90A8 0012 sub.l D0, [A0 + 0x12]
0000297A 226E 000C movea.l A1, [A6 + 0xC]
0000297E 2280 move.l [A1], D0
00002980 7000 moveq.l D0, 0x00
label00002982:
00002982 4E5E unlink A6
00002984 4E75 rts
fn00002986:
00002986 4E56 0000 link A6, 0
0000298A 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
0000298E 286E 0014 movea.l A4, [A6 + 0x14]
00002992 2E2E 000C move.l D7, [A6 + 0xC]
00002996 2C2E 0010 move.l D6, [A6 + 0x10]
0000299A 2F06 move.l -[A7], D6
0000299C 2F07 move.l -[A7], D7
0000299E 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000029A2 2A00 move.l D5, D0
000029A4 4A85 tst.l D5
000029A6 6606 bne +0x8 /* 000029AE */
000029A8 7000 moveq.l D0, 0x00
000029AA 6000 0124 bra +0x126 /* 00002AD0 */
label000029AE:
000029AE 2F0C move.l -[A7], A4
000029B0 4EBA 1A5E jsr [PC + 0x1A5E /* 00004410 */]
000029B4 0814 0001 btst.b [A4], 0x1
000029B8 588F addq.l A7, 4
000029BA 670C beq +0xE /* 000029C8 */
000029BC 0814 0003 btst.b [A4], 0x3
000029C0 6606 bne +0x8 /* 000029C8 */
000029C2 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label000029C8:
000029C8 4A6C 0004 tst.w [A4 + 0x4]
000029CC 6F66 ble +0x68 /* 00002A34 */
000029CE 0814 0006 btst.b [A4], 0x6
000029D2 6760 beq +0x62 /* 00002A34 */
000029D4 4AAC 0012 tst.l [A4 + 0x12]
000029D8 665A bne +0x5C /* 00002A34 */
000029DA BAAC 000A cmp.l D5, [A4 + 0xA]
000029DE 6554 bcs +0x56 /* 00002A34 */
000029E0 7001 moveq.l D0, 0x01
000029E2 B0AC 000A cmp.l D0, [A4 + 0xA]
000029E6 6710 beq +0x12 /* 000029F8 */
000029E8 2F2C 000A move.l -[A7], [A4 + 0xA]
000029EC 2F2C 0016 move.l -[A7], [A4 + 0x16]
000029F0 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000029F4 4A80 tst.l D0
000029F6 663C bne +0x3E /* 00002A34 */
label000029F8:
000029F8 2805 move.l D4, D5
000029FA 7001 moveq.l D0, 0x01
000029FC B0AC 000A cmp.l D0, [A4 + 0xA]
00002A00 640C bcc +0xE /* 00002A0E */
00002A02 2F2C 000A move.l -[A7], [A4 + 0xA]
00002A06 2F04 move.l -[A7], D4
00002A08 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00002A0C 9880 sub.l D4, D0
label00002A0E:
00002A0E 296E 0008 000E move.l [A4 + 0xE], [A6 + 0x8]
00002A14 2944 0012 move.l [A4 + 0x12], D4
00002A18 D9AC 0016 add.l [A4 + 0x16], D4
00002A1C 2F0C move.l -[A7], A4
00002A1E 4EBA 1B80 jsr [PC + 0x1B80 /* 000045A0 */]
00002A22 3600 move.w D3, D0
00002A24 2E8C move.l [A7], A4
00002A26 4EBA DBFA jsr [PC - 0x2406 /* 00000622 */]
00002A2A 4A43 tst.w D3
00002A2C 588F addq.l A7, 4
00002A2E 6600 008A bne +0x8C /* 00002ABA */
00002A32 607C bra +0x7E /* 00002AB0 */
label00002A34:
00002A34 0814 0003 btst.b [A4], 0x3
00002A38 6706 beq +0x8 /* 00002A40 */
00002A3A 4AAC 001E tst.l [A4 + 0x1E]
00002A3E 673E beq +0x40 /* 00002A7E */
label00002A40:
00002A40 202C 0012 move.l D0, [A4 + 0x12]
00002A44 53AC 0012 subq.l [A4 + 0x12], 1
00002A48 5380 subq.l D0, 1
00002A4A 6316 bls +0x18 /* 00002A62 */
00002A4C 206E 0008 movea.l A0, [A6 + 0x8]
00002A50 226C 000E movea.l A1, [A4 + 0xE]
00002A54 52AC 000E addq.l [A4 + 0xE], 1
00002A58 1010 move.b D0, [A0]
00002A5A 1280 move.b [A1], D0
00002A5C 7200 moveq.l D1, 0x00
00002A5E 1200 move.b D1, D0
00002A60 6014 bra +0x16 /* 00002A76 */
label00002A62:
00002A62 2F0C move.l -[A7], A4
00002A64 206E 0008 movea.l A0, [A6 + 0x8]
00002A68 1010 move.b D0, [A0]
00002A6A 4880 ext.w D0
00002A6C 3F00 move.w -[A7], D0
00002A6E 4EBA DA7E jsr [PC - 0x2582 /* 000004EE */]
00002A72 3200 move.w D1, D0
00002A74 5C8F addq.l A7, 6
label00002A76:
00002A76 5241 addq.w D1, 1
00002A78 6740 beq +0x42 /* 00002ABA */
00002A7A 7801 moveq.l D4, 0x01
00002A7C 6032 bra +0x34 /* 00002AB0 */
label00002A7E:
00002A7E 282C 0012 move.l D4, [A4 + 0x12]
00002A82 BA84 cmp.l D5, D4
00002A84 6402 bcc +0x4 /* 00002A88 */
00002A86 2805 move.l D4, D5
label00002A88:
00002A88 2F04 move.l -[A7], D4
00002A8A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002A8E 2F2C 000E move.l -[A7], [A4 + 0xE]
00002A92 4EBA 03B4 jsr [PC + 0x3B4 /* 00002E48 */]
00002A96 D9AC 000E add.l [A4 + 0xE], D4
00002A9A 99AC 0012 sub.l [A4 + 0x12], D4
00002A9E 4FEF 000C lea.l A7, [A7 + 0xC]
00002AA2 660C bne +0xE /* 00002AB0 */
00002AA4 2F0C move.l -[A7], A4
00002AA6 4EBA DB2C jsr [PC - 0x24D4 /* 000005D4 */]
00002AAA 4A40 tst.w D0
00002AAC 588F addq.l A7, 4
00002AAE 660A bne +0xC /* 00002ABA */
label00002AB0:
00002AB0 D9AE 0008 add.l [A6 + 0x8], D4
00002AB4 9A84 sub.l D5, D4
00002AB6 6600 FF10 bne -0xEE /* 000029C8 */
label00002ABA:
00002ABA 4A85 tst.l D5
00002ABC 6710 beq +0x12 /* 00002ACE */
00002ABE 2F07 move.l -[A7], D7
00002AC0 2005 move.l D0, D5
00002AC2 D087 add.l D0, D7
00002AC4 5380 subq.l D0, 1
00002AC6 2F00 move.l -[A7], D0
00002AC8 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00002ACC 9C80 sub.l D6, D0
label00002ACE:
00002ACE 2006 move.l D0, D6
label00002AD0:
00002AD0 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00002AD4 4E5E unlink A6
00002AD6 4E75 rts
fn00002AD8:
00002AD8 4E56 0000 link A6, 0
00002ADC 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00002AE0 266E 000E movea.l A3, [A6 + 0xE]
00002AE4 286E 0008 movea.l A4, [A6 + 0x8]
00002AE8 244C movea.l A2, A4
00002AEA 0C6E 0001 000C cmpi.w [A6 + 0xC], 0x1
00002AF0 6C42 bge +0x44 /* 00002B34 */
00002AF2 7000 moveq.l D0, 0x00
00002AF4 6048 bra +0x4A /* 00002B3E */
label00002AF6:
00002AF6 202B 0012 move.l D0, [A3 + 0x12]
00002AFA 53AB 0012 subq.l [A3 + 0x12], 1
00002AFE 4A80 tst.l D0
00002B00 670E beq +0x10 /* 00002B10 */
00002B02 206B 000E movea.l A0, [A3 + 0xE]
00002B06 52AB 000E addq.l [A3 + 0xE], 1
00002B0A 7000 moveq.l D0, 0x00
00002B0C 1010 move.b D0, [A0]
00002B0E 6008 bra +0xA /* 00002B18 */
label00002B10:
00002B10 2F0B move.l -[A7], A3
00002B12 4EBA D978 jsr [PC - 0x2688 /* 0000048C */]
00002B16 588F addq.l A7, 4
label00002B18:
00002B18 3E00 move.w D7, D0
00002B1A 4A40 tst.w D0
00002B1C 6C0E bge +0x10 /* 00002B2C */
00002B1E 0813 0005 btst.b [A3], 0x5
00002B22 6704 beq +0x6 /* 00002B28 */
00002B24 B9CA cmpa.l A4, A2
00002B26 6612 bne +0x14 /* 00002B3A */
label00002B28:
00002B28 7000 moveq.l D0, 0x00
00002B2A 6012 bra +0x14 /* 00002B3E */
label00002B2C:
00002B2C 14C7 move.b [A2]+, D7
00002B2E 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002B32 6706 beq +0x8 /* 00002B3A */
label00002B34:
00002B34 536E 000C subq.w [A6 + 0xC], 1
00002B38 66BC bne -0x42 /* 00002AF6 */
label00002B3A:
00002B3A 4212 clr.b [A2]
00002B3C 200C move.l D0, A4
label00002B3E:
00002B3E 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00002B42 4E5E unlink A6
00002B44 4E75 rts
00002B46 4E56 0000 link A6, 0
00002B4A 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00002B4E 286E 0008 movea.l A4, [A6 + 0x8]
00002B52 47ED FD26 lea.l A3, [A5 - 0x2DA]
00002B56 244C movea.l A2, A4
label00002B58:
00002B58 202B 0012 move.l D0, [A3 + 0x12]
00002B5C 53AB 0012 subq.l [A3 + 0x12], 1
00002B60 4A80 tst.l D0
00002B62 670E beq +0x10 /* 00002B72 */
00002B64 206B 000E movea.l A0, [A3 + 0xE]
00002B68 52AB 000E addq.l [A3 + 0xE], 1
00002B6C 7000 moveq.l D0, 0x00
00002B6E 1010 move.b D0, [A0]
00002B70 6008 bra +0xA /* 00002B7A */
label00002B72:
00002B72 2F0B move.l -[A7], A3
00002B74 4EBA D916 jsr [PC - 0x26EA /* 0000048C */]
00002B78 588F addq.l A7, 4
label00002B7A:
00002B7A 3E00 move.w D7, D0
00002B7C 4A40 tst.w D0
00002B7E 6C0E bge +0x10 /* 00002B8E */
00002B80 0813 0005 btst.b [A3], 0x5
00002B84 6704 beq +0x6 /* 00002B8A */
00002B86 B9CA cmpa.l A4, A2
00002B88 660E bne +0x10 /* 00002B98 */
label00002B8A:
00002B8A 7000 moveq.l D0, 0x00
00002B8C 600E bra +0x10 /* 00002B9C */
label00002B8E:
00002B8E 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002B92 6704 beq +0x6 /* 00002B98 */
00002B94 14C7 move.b [A2]+, D7
00002B96 60C0 bra -0x3E /* 00002B58 */
label00002B98:
00002B98 4212 clr.b [A2]
00002B9A 200C move.l D0, A4
label00002B9C:
00002B9C 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00002BA0 4E5E unlink A6
00002BA2 4E75 rts
fn00002BA4:
00002BA4 4E56 0000 link A6, 0
00002BA8 206E 0008 movea.l A0, [A6 + 0x8]
00002BAC 2028 0012 move.l D0, [A0 + 0x12]
00002BB0 53A8 0012 subq.l [A0 + 0x12], 1
00002BB4 4A80 tst.l D0
00002BB6 6712 beq +0x14 /* 00002BCA */
00002BB8 206E 0008 movea.l A0, [A6 + 0x8]
00002BBC 2268 000E movea.l A1, [A0 + 0xE]
00002BC0 52A8 000E addq.l [A0 + 0xE], 1
00002BC4 7000 moveq.l D0, 0x00
00002BC6 1011 move.b D0, [A1]
00002BC8 600A bra +0xC /* 00002BD4 */
label00002BCA:
00002BCA 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002BCE 4EBA D8BC jsr [PC - 0x2744 /* 0000048C */]
00002BD2 588F addq.l A7, 4
label00002BD4:
00002BD4 4E5E unlink A6
00002BD6 4E75 rts
00002BD8 4E56 0000 link A6, 0
00002BDC 206E 0008 movea.l A0, [A6 + 0x8]
00002BE0 2028 0012 move.l D0, [A0 + 0x12]
00002BE4 53A8 0012 subq.l [A0 + 0x12], 1
00002BE8 4A80 tst.l D0
00002BEA 6712 beq +0x14 /* 00002BFE */
00002BEC 206E 0008 movea.l A0, [A6 + 0x8]
00002BF0 2268 000E movea.l A1, [A0 + 0xE]
00002BF4 52A8 000E addq.l [A0 + 0xE], 1
00002BF8 7000 moveq.l D0, 0x00
00002BFA 1011 move.b D0, [A1]
00002BFC 600A bra +0xC /* 00002C08 */
label00002BFE:
00002BFE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C02 4EBA D888 jsr [PC - 0x2778 /* 0000048C */]
00002C06 588F addq.l A7, 4
label00002C08:
00002C08 4E5E unlink A6
00002C0A 4E75 rts
00002C0C 202D FD38 move.l D0, [A5 - 0x2C8]
00002C10 53AD FD38 subq.l [A5 - 0x2C8], 1
00002C14 4A80 tst.l D0
00002C16 670E beq +0x10 /* 00002C26 */
00002C18 206D FD34 movea.l A0, [A5 - 0x2CC]
00002C1C 52AD FD34 addq.l [A5 - 0x2CC], 1
00002C20 7000 moveq.l D0, 0x00
00002C22 1010 move.b D0, [A0]
00002C24 600A bra +0xC /* 00002C30 */
label00002C26:
00002C26 486D FD26 pea.l [A5 - 0x2DA]
00002C2A 4EBA D860 jsr [PC - 0x27A0 /* 0000048C */]
00002C2E 588F addq.l A7, 4
label00002C30:
00002C30 4E75 rts
fn00002C32:
00002C32 48E7 0108 movem.l -[A7], D7,A4
00002C36 49ED FD98 lea.l A4, [A5 - 0x268]
00002C3A 7E0C moveq.l D7, 0x0C
00002C3C 600E bra +0x10 /* 00002C4C */
label00002C3E:
00002C3E 4A6C 0004 tst.w [A4 + 0x4]
00002C42 6604 bne +0x6 /* 00002C48 */
00002C44 200C move.l D0, A4
00002C46 6014 bra +0x16 /* 00002C5C */
label00002C48:
00002C48 49EC 0026 lea.l A4, [A4 + 0x26]
label00002C4C:
00002C4C 3007 move.w D0, D7
00002C4E 5347 subq.w D7, 1
00002C50 4A40 tst.w D0
00002C52 66EA bne -0x14 /* 00002C3E */
00002C54 3B7C 0018 FCEA move.w [A5 - 0x316], 0x18
00002C5A 7000 moveq.l D0, 0x00
label00002C5C:
00002C5C 4CDF 1080 movem.l D7,A4, [A7]+
00002C60 4E75 rts
00002C62 4E56 0000 link A6, 0
00002C66 486E 0010 pea.l [A6 + 0x10]
00002C6A 2F2E 000C move.l -[A7], [A6 + 0xC]
00002C6E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C72 4EBA 026A jsr [PC + 0x26A /* 00002EDE */]
00002C76 4E5E unlink A6
00002C78 4E75 rts
00002C7A 4E56 0000 link A6, 0
00002C7E 486E 000C pea.l [A6 + 0xC]
00002C82 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C86 4EBA 0006 jsr [PC + 0x6 /* 00002C8E */]
00002C8A 4E5E unlink A6
00002C8C 4E75 rts
fn00002C8E:
00002C8E 4E56 0000 link A6, 0
00002C92 2F2E 000C move.l -[A7], [A6 + 0xC]
00002C96 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C9A 486D FD4C pea.l [A5 - 0x2B4]
00002C9E 4EBA 023E jsr [PC + 0x23E /* 00002EDE */]
00002CA2 4E5E unlink A6
00002CA4 4E75 rts
00002CA6 4E56 0000 link A6, 0
00002CAA 486E 0010 pea.l [A6 + 0x10]
00002CAE 2F2E 000C move.l -[A7], [A6 + 0xC]
00002CB2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002CB6 4EBA 0C22 jsr [PC + 0xC22 /* 000038DA */]
00002CBA 4E5E unlink A6
00002CBC 4E75 rts
00002CBE 4E56 0000 link A6, 0
00002CC2 486E 000C pea.l [A6 + 0xC]
00002CC6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002CCA 4EBA 0006 jsr [PC + 0x6 /* 00002CD2 */]
00002CCE 4E5E unlink A6
00002CD0 4E75 rts
fn00002CD2:
00002CD2 4E56 0000 link A6, 0
00002CD6 2F2E 000C move.l -[A7], [A6 + 0xC]
00002CDA 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002CDE 486D FD26 pea.l [A5 - 0x2DA]
00002CE2 4EBA 0BF6 jsr [PC + 0xBF6 /* 000038DA */]
00002CE6 4E5E unlink A6
00002CE8 4E75 rts
fn00002CEA:
00002CEA 4E56 0000 link A6, 0
00002CEE 4878 0200 push.l 0x200
00002CF2 4AAE 000C tst.l [A6 + 0xC]
00002CF6 6704 beq +0x6 /* 00002CFC */
00002CF8 7000 moveq.l D0, 0x00
00002CFA 6002 bra +0x4 /* 00002CFE */
label00002CFC:
00002CFC 7002 moveq.l D0, 0x02
label00002CFE:
00002CFE 3F00 move.w -[A7], D0
00002D00 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D04 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D08 4EBA 0006 jsr [PC + 0x6 /* 00002D10 */]
00002D0C 4E5E unlink A6
00002D0E 4E75 rts
fn00002D10:
00002D10 4E56 0000 link A6, 0
00002D14 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002D18 2E2E 0012 move.l D7, [A6 + 0x12]
00002D1C 286E 0008 movea.l A4, [A6 + 0x8]
00002D20 266E 000C movea.l A3, [A6 + 0xC]
00002D24 7C00 moveq.l D6, 0x00
00002D26 2F0C move.l -[A7], A4
00002D28 4EBA 16E6 jsr [PC + 0x16E6 /* 00004410 */]
00002D2C 302E 0010 move.w D0, [A6 + 0x10]
00002D30 588F addq.l A7, 4
00002D32 6B28 bmi +0x2A /* 00002D5C */
00002D34 5540 subq.w D0, 2
00002D36 6704 beq +0x6 /* 00002D3C */
00002D38 6A22 bpl +0x24 /* 00002D5C */
00002D3A 6008 bra +0xA /* 00002D44 */
label00002D3C:
00002D3C 47EC 0002 lea.l A3, [A4 + 0x2]
00002D40 7E01 moveq.l D7, 0x01
00002D42 601C bra +0x1E /* 00002D60 */
label00002D44:
00002D44 4A87 tst.l D7
00002D46 6714 beq +0x16 /* 00002D5C */
00002D48 200B move.l D0, A3
00002D4A 6614 bne +0x16 /* 00002D60 */
00002D4C 7C01 moveq.l D6, 0x01
00002D4E 2F07 move.l -[A7], D7
00002D50 4EBA D2AE jsr [PC - 0x2D52 /* 00000000 */]
00002D54 2640 movea.l A3, D0
00002D56 200B move.l D0, A3
00002D58 588F addq.l A7, 4
00002D5A 6604 bne +0x6 /* 00002D60 */
label00002D5C:
00002D5C 70FF moveq.l D0, 0xFFFFFFFF
00002D5E 602C bra +0x2E /* 00002D8C */
label00002D60:
00002D60 0814 0002 btst.b [A4], 0x2
00002D64 670E beq +0x10 /* 00002D74 */
00002D66 2F2C 0006 move.l -[A7], [A4 + 0x6]
00002D6A 4EBA D456 jsr [PC - 0x2BAA /* 000001C2 */]
00002D6E 0894 0002 bclr.b [A4], 0x2
00002D72 588F addq.l A7, 4
label00002D74:
00002D74 4A46 tst.w D6
00002D76 6704 beq +0x6 /* 00002D7C */
00002D78 08D4 0002 bset.b [A4], 0x2
label00002D7C:
00002D7C 294B 0006 move.l [A4 + 0x6], A3
00002D80 2947 000A move.l [A4 + 0xA], D7
00002D84 2F0C move.l -[A7], A4
00002D86 4EBA D89A jsr [PC - 0x2766 /* 00000622 */]
00002D8A 7000 moveq.l D0, 0x00
label00002D8C:
00002D8C 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00002D92 4E5E unlink A6
00002D94 4E75 rts
fn00002D96:
00002D96 4E56 0000 link A6, 0
00002D9A 48E7 0308 movem.l -[A7], D6,D7,A4
00002D9E 286E 0008 movea.l A4, [A6 + 0x8]
00002DA2 200C move.l D0, A4
00002DA4 670E beq +0x10 /* 00002DB4 */
00002DA6 2F0C move.l -[A7], A4
00002DA8 4EBA 1666 jsr [PC + 0x1666 /* 00004410 */]
00002DAC 2E8C move.l [A7], A4
00002DAE 4EBA D824 jsr [PC - 0x27DC /* 000005D4 */]
00002DB2 602C bra +0x2E /* 00002DE0 */
label00002DB4:
00002DB4 7E00 moveq.l D7, 0x00
00002DB6 49ED FD26 lea.l A4, [A5 - 0x2DA]
00002DBA 7C0F moveq.l D6, 0x0F
00002DBC 6018 bra +0x1A /* 00002DD6 */
label00002DBE:
00002DBE 0814 0003 btst.b [A4], 0x3
00002DC2 670E beq +0x10 /* 00002DD2 */
00002DC4 2F0C move.l -[A7], A4
00002DC6 4EBA D80C jsr [PC - 0x27F4 /* 000005D4 */]
00002DCA 4A40 tst.w D0
00002DCC 588F addq.l A7, 4
00002DCE 6702 beq +0x4 /* 00002DD2 */
00002DD0 7EFF moveq.l D7, 0xFFFFFFFF
label00002DD2:
00002DD2 49EC 0026 lea.l A4, [A4 + 0x26]
label00002DD6:
00002DD6 3006 move.w D0, D6
00002DD8 5346 subq.w D6, 1
00002DDA 4A40 tst.w D0
00002DDC 66E0 bne -0x1E /* 00002DBE */
00002DDE 3007 move.w D0, D7
label00002DE0:
00002DE0 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00002DE6 4E5E unlink A6
00002DE8 4E75 rts
fn00002DEA:
00002DEA 4E56 0000 link A6, 0
00002DEE 48E7 0108 movem.l -[A7], D7,A4
00002DF2 286E 0008 movea.l A4, [A6 + 0x8]
00002DF6 7E00 moveq.l D7, 0x00
00002DF8 0894 0007 bclr.b [A4], 0x7
00002DFC 4A6C 0004 tst.w [A4 + 0x4]
00002E00 673C beq +0x3E /* 00002E3E */
00002E02 2F0C move.l -[A7], A4
00002E04 4EBA D7CE jsr [PC - 0x2832 /* 000005D4 */]
00002E08 4A40 tst.w D0
00002E0A 588F addq.l A7, 4
00002E0C 6702 beq +0x4 /* 00002E10 */
00002E0E 7EFF moveq.l D7, 0xFFFFFFFF
label00002E10:
00002E10 2F0C move.l -[A7], A4
00002E12 4EBA 17A6 jsr [PC + 0x17A6 /* 000045BA */]
00002E16 4A40 tst.w D0
00002E18 588F addq.l A7, 4
00002E1A 6702 beq +0x4 /* 00002E1E */
00002E1C 7EFF moveq.l D7, 0xFFFFFFFF
label00002E1E:
00002E1E 0814 0002 btst.b [A4], 0x2
00002E22 670A beq +0xC /* 00002E2E */
00002E24 2F2C 0006 move.l -[A7], [A4 + 0x6]
00002E28 4EBA D398 jsr [PC - 0x2C68 /* 000001C2 */]
00002E2C 588F addq.l A7, 4
label00002E2E:
00002E2E 4878 0026 push.l 0x26 /* '&' */
00002E32 4267 clr.w -[A7]
00002E34 2F0C move.l -[A7], A4
00002E36 4EBA 008E jsr [PC + 0x8E /* 00002EC6 */]
00002E3A 4FEF 000A lea.l A7, [A7 + 0xA]
label00002E3E:
00002E3E 3007 move.w D0, D7
00002E40 4CDF 1080 movem.l D7,A4, [A7]+
00002E44 4E5E unlink A6
00002E46 4E75 rts
fn00002E48:
00002E48 202F 0004 move.l D0, [A7 + 0x4]
00002E4C 2040 movea.l A0, D0
00002E4E 226F 0008 movea.l A1, [A7 + 0x8]
00002E52 222F 000C move.l D1, [A7 + 0xC]
00002E56 6004 bra +0x6 /* 00002E5C */
label00002E58:
00002E58 10D9 move.b [A0]+, [A1]+
00002E5A 5381 subq.l D1, 1
label00002E5C:
00002E5C 66FA bne -0x4 /* 00002E58 */
00002E5E 4E75 rts
fn00002E60:
00002E60 202F 0004 move.l D0, [A7 + 0x4]
00002E64 2040 movea.l A0, D0
00002E66 226F 0008 movea.l A1, [A7 + 0x8]
00002E6A 222F 000C move.l D1, [A7 + 0xC]
00002E6E 6716 beq +0x18 /* 00002E86 */
00002E70 B3C8 cmpa.l A1, A0
00002E72 620C bhi +0xE /* 00002E80 */
00002E74 D1C1 add.l A0, D1
00002E76 D3C1 add.l A1, D1
label00002E78:
00002E78 1121 move.b -[A0], -[A1]
00002E7A 5381 subq.l D1, 1
00002E7C 66FA bne -0x4 /* 00002E78 */
00002E7E 4E75 rts
label00002E80:
00002E80 10D9 move.b [A0]+, [A1]+
00002E82 5381 subq.l D1, 1
00002E84 66FA bne -0x4 /* 00002E80 */
label00002E86:
00002E86 4E75 rts
00002E88 7000 moveq.l D0, 0x00
00002E8A 206F 0004 movea.l A0, [A7 + 0x4]
00002E8E 226F 0008 movea.l A1, [A7 + 0x8]
00002E92 222F 000C move.l D1, [A7 + 0xC]
00002E96 6002 bra +0x4 /* 00002E9A */
label00002E98:
00002E98 5381 subq.l D1, 1
label00002E9A:
00002E9A 670A beq +0xC /* 00002EA6 */
00002E9C B308 cmpm.b [A1]+, [A0]+
00002E9E 67F8 beq -0x6 /* 00002E98 */
00002EA0 6502 bcs +0x4 /* 00002EA4 */
00002EA2 5580 subq.l D0, 2
label00002EA4:
00002EA4 5280 addq.l D0, 1
label00002EA6:
00002EA6 4E75 rts
fn00002EA8:
00002EA8 7001 moveq.l D0, 0x01
00002EAA 206F 0004 movea.l A0, [A7 + 0x4]
00002EAE 122F 0009 move.b D1, [A7 + 0x9]
00002EB2 242F 000A move.l D2, [A7 + 0xA]
00002EB6 6002 bra +0x4 /* 00002EBA */
label00002EB8:
00002EB8 5382 subq.l D2, 1
label00002EBA:
00002EBA 6706 beq +0x8 /* 00002EC2 */
00002EBC B218 cmp.b D1, [A0]+
00002EBE 66F8 bne -0x6 /* 00002EB8 */
00002EC0 2008 move.l D0, A0
label00002EC2:
00002EC2 5380 subq.l D0, 1
00002EC4 4E75 rts
export_18:
fn00002EC6:
00002EC6 202F 0004 move.l D0, [A7 + 0x4]
00002ECA 2040 movea.l A0, D0
00002ECC 122F 0009 move.b D1, [A7 + 0x9]
00002ED0 242F 000A move.l D2, [A7 + 0xA]
00002ED4 6004 bra +0x6 /* 00002EDA */
label00002ED6:
00002ED6 10C1 move.b [A0]+, D1
00002ED8 5382 subq.l D2, 1
label00002EDA:
00002EDA 66FA bne -0x4 /* 00002ED6 */
00002EDC 4E75 rts
fn00002EDE:
00002EDE 4E56 FDC4 link A6, -0x023C
00002EE2 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002EE6 286E 0008 movea.l A4, [A6 + 0x8]
00002EEA 266E 000C movea.l A3, [A6 + 0xC]
00002EEE 7800 moveq.l D4, 0x00
00002EF0 1E13 move.b D7, [A3]
00002EF2 4887 ext.w D7
00002EF4 6000 08A8 bra +0x8AA /* 0000379E */
label00002EF8:
00002EF8 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00002EFC 6600 07B8 bne +0x7BA /* 000036B6 */
00002F00 2D6D FF60 FDE4 move.l [A6 - 0x21C], [A5 - 0xA0]
00002F06 2D6D FF64 FDE8 move.l [A6 - 0x218], [A5 - 0x9C]
label00002F0C:
00002F0C 528B addq.l A3, 1
00002F0E 1E13 move.b D7, [A3]
00002F10 4887 ext.w D7
00002F12 0C47 002D cmpi.w D7, 0x2D /* '-' */
00002F16 6608 bne +0xA /* 00002F20 */
00002F18 08EE 0007 FDE4 bset.b [A6 - 0x21C], 0x7
00002F1E 60EC bra -0x12 /* 00002F0C */
label00002F20:
00002F20 0C47 002B cmpi.w D7, 0x2B /* '+' */
00002F24 6608 bne +0xA /* 00002F2E */
00002F26 08EE 0006 FDE4 bset.b [A6 - 0x21C], 0x6
00002F2C 60DE bra -0x20 /* 00002F0C */
label00002F2E:
00002F2E 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00002F32 6608 bne +0xA /* 00002F3C */
00002F34 1D7C 0020 FDE6 move.b [A6 - 0x21A], 0x20 /* ' ' */
00002F3A 60D0 bra -0x2E /* 00002F0C */
label00002F3C:
00002F3C 0C47 0023 cmpi.w D7, 0x23 /* '#' */
00002F40 6608 bne +0xA /* 00002F4A */
00002F42 08EE 0005 FDE4 bset.b [A6 - 0x21C], 0x5
00002F48 60C2 bra -0x3C /* 00002F0C */
label00002F4A:
00002F4A 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00002F4E 6608 bne +0xA /* 00002F58 */
00002F50 08EE 0004 FDE4 bset.b [A6 - 0x21C], 0x4
00002F56 60B4 bra -0x4A /* 00002F0C */
label00002F58:
00002F58 0C47 002A cmpi.w D7, 0x2A /* '*' */
00002F5C 6640 bne +0x42 /* 00002F9E */
00002F5E 206E 0010 movea.l A0, [A6 + 0x10]
00002F62 54AE 0010 addq.l [A6 + 0x10], 2
00002F66 3010 move.w D0, [A0]
00002F68 3D40 FDE8 move.w [A6 - 0x218], D0
00002F6C 4A40 tst.w D0
00002F6E 6C10 bge +0x12 /* 00002F80 */
00002F70 08EE 0007 FDE4 bset.b [A6 - 0x21C], 0x7
00002F76 302E FDE8 move.w D0, [A6 - 0x218]
00002F7A 4440 neg.w D0
00002F7C 3D40 FDE8 move.w [A6 - 0x218], D0
label00002F80:
00002F80 528B addq.l A3, 1
00002F82 1E13 move.b D7, [A3]
00002F84 4887 ext.w D7
00002F86 6022 bra +0x24 /* 00002FAA */
label00002F88:
00002F88 700A moveq.l D0, 0x0A
00002F8A C1EE FDE8 muls.w D0, [A6 - 0x218]
00002F8E 0640 FFD0 addi.w D0, 0xFFD0
00002F92 D047 add.w D0, D7
00002F94 3D40 FDE8 move.w [A6 - 0x218], D0
00002F98 528B addq.l A3, 1
00002F9A 1E13 move.b D7, [A3]
00002F9C 4887 ext.w D7
label00002F9E:
00002F9E 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00002FA2 6D06 blt +0x8 /* 00002FAA */
00002FA4 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00002FA8 6FDE ble -0x20 /* 00002F88 */
label00002FAA:
00002FAA 0C47 002E cmpi.w D7, 0x2E /* '.' */
00002FAE 664E bne +0x50 /* 00002FFE */
00002FB0 528B addq.l A3, 1
00002FB2 1E13 move.b D7, [A3]
00002FB4 4887 ext.w D7
00002FB6 0C47 002A cmpi.w D7, 0x2A /* '*' */
00002FBA 662A bne +0x2C /* 00002FE6 */
00002FBC 206E 0010 movea.l A0, [A6 + 0x10]
00002FC0 54AE 0010 addq.l [A6 + 0x10], 2
00002FC4 3D50 FDEA move.w [A6 - 0x216], [A0]
00002FC8 528B addq.l A3, 1
00002FCA 1E13 move.b D7, [A3]
00002FCC 4887 ext.w D7
00002FCE 6022 bra +0x24 /* 00002FF2 */
label00002FD0:
00002FD0 700A moveq.l D0, 0x0A
00002FD2 C1EE FDEA muls.w D0, [A6 - 0x216]
00002FD6 0640 FFD0 addi.w D0, 0xFFD0
00002FDA D047 add.w D0, D7
00002FDC 3D40 FDEA move.w [A6 - 0x216], D0
00002FE0 528B addq.l A3, 1
00002FE2 1E13 move.b D7, [A3]
00002FE4 4887 ext.w D7
label00002FE6:
00002FE6 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00002FEA 6D06 blt +0x8 /* 00002FF2 */
00002FEC 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00002FF0 6FDE ble -0x20 /* 00002FD0 */
label00002FF2:
00002FF2 4A6E FDEA tst.w [A6 - 0x216]
00002FF6 6D06 blt +0x8 /* 00002FFE */
00002FF8 08EE 0003 FDE4 bset.b [A6 - 0x21C], 0x3
label00002FFE:
00002FFE 45EE FFF4 lea.l A2, [A6 - 0xC]
00003002 4A2E FDE4 tst.b [A6 - 0x21C]
00003006 6A06 bpl +0x8 /* 0000300E */
00003008 08AE 0004 FDE4 bclr.b [A6 - 0x21C], 0x4
label0000300E:
0000300E 3007 move.w D0, D7
00003010 0440 0045 subi.w D0, 0x45 /* 'E' */
00003014 0C40 0033 cmpi.w D0, 0x33 /* '3' */
00003018 6200 0694 bhi +0x696 /* 000036AE */
0000301C 43FA 0790 lea.l A1, [PC + 0x790 /* 000037AE, value 0xFBAEFF00 */]
00003020 D040 add.w D0, D0
00003022 D2F1 0000 add.w A1, [A1 + D0.w]
00003026 4ED1 jmp [A1]
00003028 08EE 0002 FDE4 bset.b [A6 - 0x21C], 0x2
0000302E 528B addq.l A3, 1
00003030 1E13 move.b D7, [A3]
00003032 4887 ext.w D7
00003034 60D8 bra -0x26 /* 0000300E */
00003036 08EE 0001 FDE4 bset.b [A6 - 0x21C], 0x1
0000303C 528B addq.l A3, 1
0000303E 1E13 move.b D7, [A3]
00003040 4887 ext.w D7
00003042 60CA bra -0x34 /* 0000300E */
00003044 08EE 0000 FDE4 bset.b [A6 - 0x21C], 0x0
0000304A 528B addq.l A3, 1
0000304C 1E13 move.b D7, [A3]
0000304E 4887 ext.w D7
00003050 60BC bra -0x42 /* 0000300E */
00003052 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003058 670C beq +0xE /* 00003066 */
0000305A 206E 0010 movea.l A0, [A6 + 0x10]
0000305E 58AE 0010 addq.l [A6 + 0x10], 4
00003062 2610 move.l D3, [A0]
00003064 600C bra +0xE /* 00003072 */
label00003066:
00003066 206E 0010 movea.l A0, [A6 + 0x10]
0000306A 54AE 0010 addq.l [A6 + 0x10], 2
0000306E 3610 move.w D3, [A0]
00003070 48C3 ext.l D3
label00003072:
00003072 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003078 6702 beq +0x4 /* 0000307C */
0000307A 48C3 ext.l D3
label0000307C:
0000307C 4A83 tst.l D3
0000307E 6C0A bge +0xC /* 0000308A */
00003080 4483 neg.l D3
00003082 1D7C 002D FDE6 move.b [A6 - 0x21A], 0x2D /* '-' */
00003088 6042 bra +0x44 /* 000030CC */
label0000308A:
0000308A 082E 0006 FDE4 btst.b [A6 - 0x21C], 0x6
00003090 673A beq +0x3C /* 000030CC */
00003092 1D7C 002B FDE6 move.b [A6 - 0x21A], 0x2B /* '+' */
00003098 6032 bra +0x34 /* 000030CC */
0000309A 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
000030A0 670C beq +0xE /* 000030AE */
000030A2 206E 0010 movea.l A0, [A6 + 0x10]
000030A6 58AE 0010 addq.l [A6 + 0x10], 4
000030AA 2610 move.l D3, [A0]
000030AC 600C bra +0xE /* 000030BA */
label000030AE:
000030AE 206E 0010 movea.l A0, [A6 + 0x10]
000030B2 54AE 0010 addq.l [A6 + 0x10], 2
000030B6 7600 moveq.l D3, 0x00
000030B8 3610 move.w D3, [A0]
label000030BA:
000030BA 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
000030C0 6706 beq +0x8 /* 000030C8 */
000030C2 7000 moveq.l D0, 0x00
000030C4 3003 move.w D0, D3
000030C6 2600 move.l D3, D0
label000030C8:
000030C8 422E FDE6 clr.b [A6 - 0x21A]
label000030CC:
000030CC 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000030D2 6626 bne +0x28 /* 000030FA */
000030D4 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
000030DA 6710 beq +0x12 /* 000030EC */
000030DC 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
000030E2 4A2E FDE6 tst.b [A6 - 0x21A]
000030E6 6704 beq +0x6 /* 000030EC */
000030E8 536E FDEA subq.w [A6 - 0x216], 1
label000030EC:
000030EC 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
000030F2 6C06 bge +0x8 /* 000030FA */
000030F4 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label000030FA:
000030FA 7C00 moveq.l D6, 0x00
000030FC 6020 bra +0x22 /* 0000311E */
label000030FE:
000030FE 4878 000A push.l 0xA /* '\n' */
00003102 2F03 move.l -[A7], D3
00003104 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00003108 0600 0030 addi.b D0, 0x30 /* '0' */
0000310C 538A subq.l A2, 1
0000310E 1480 move.b [A2], D0
00003110 4878 000A push.l 0xA /* '\n' */
00003114 2F03 move.l -[A7], D3
00003116 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
0000311A 2600 move.l D3, D0
0000311C 5246 addq.w D6, 1
label0000311E:
0000311E 4A83 tst.l D3
00003120 66DC bne -0x22 /* 000030FE */
00003122 6008 bra +0xA /* 0000312C */
label00003124:
00003124 538A subq.l A2, 1
00003126 14BC 0030 move.b [A2], 0x30 /* '0' */
0000312A 5246 addq.w D6, 1
label0000312C:
0000312C BC6E FDEA cmp.w D6, [A6 - 0x216]
00003130 6DF2 blt -0xC /* 00003124 */
00003132 4A2E FDE6 tst.b [A6 - 0x21A]
00003136 6700 05B4 beq +0x5B6 /* 000036EC */
0000313A 538A subq.l A2, 1
0000313C 14AE FDE6 move.b [A2], [A6 - 0x21A]
00003140 5246 addq.w D6, 1
00003142 6000 05A8 bra +0x5AA /* 000036EC */
00003146 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
0000314C 670C beq +0xE /* 0000315A */
0000314E 206E 0010 movea.l A0, [A6 + 0x10]
00003152 58AE 0010 addq.l [A6 + 0x10], 4
00003156 2610 move.l D3, [A0]
00003158 600C bra +0xE /* 00003166 */
label0000315A:
0000315A 206E 0010 movea.l A0, [A6 + 0x10]
0000315E 54AE 0010 addq.l [A6 + 0x10], 2
00003162 7600 moveq.l D3, 0x00
00003164 3610 move.w D3, [A0]
label00003166:
00003166 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
0000316C 6706 beq +0x8 /* 00003174 */
0000316E 7000 moveq.l D0, 0x00
00003170 3003 move.w D0, D3
00003172 2600 move.l D3, D0
label00003174:
00003174 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
0000317A 661C bne +0x1E /* 00003198 */
0000317C 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
00003182 6706 beq +0x8 /* 0000318A */
00003184 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
label0000318A:
0000318A 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
00003190 6C06 bge +0x8 /* 00003198 */
00003192 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label00003198:
00003198 7C00 moveq.l D6, 0x00
0000319A 6010 bra +0x12 /* 000031AC */
label0000319C:
0000319C 7007 moveq.l D0, 0x07
0000319E C083 and.l D0, D3
000031A0 0600 0030 addi.b D0, 0x30 /* '0' */
000031A4 538A subq.l A2, 1
000031A6 1480 move.b [A2], D0
000031A8 E68B lsr D3, 3
000031AA 5246 addq.w D6, 1
label000031AC:
000031AC 4A83 tst.l D3
000031AE 66EC bne -0x12 /* 0000319C */
000031B0 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
000031B6 671C beq +0x1E /* 000031D4 */
000031B8 4A46 tst.w D6
000031BA 6718 beq +0x1A /* 000031D4 */
000031BC 0C12 0030 cmpi.b [A2], 0x30 /* '0' */
000031C0 6712 beq +0x14 /* 000031D4 */
000031C2 538A subq.l A2, 1
000031C4 14BC 0030 move.b [A2], 0x30 /* '0' */
000031C8 5246 addq.w D6, 1
000031CA 6008 bra +0xA /* 000031D4 */
label000031CC:
000031CC 538A subq.l A2, 1
000031CE 14BC 0030 move.b [A2], 0x30 /* '0' */
000031D2 5246 addq.w D6, 1
label000031D4:
000031D4 BC6E FDEA cmp.w D6, [A6 - 0x216]
000031D8 6DF2 blt -0xC /* 000031CC */
000031DA 6000 0510 bra +0x512 /* 000036EC */
000031DE 08EE 0001 FDE4 bset.b [A6 - 0x21C], 0x1
000031E4 08EE 0003 FDE4 bset.b [A6 - 0x21C], 0x3
000031EA 3D7C 0008 FDEA move.w [A6 - 0x216], 0x8
000031F0 41ED FF68 lea.l A0, [A5 - 0x98]
000031F4 2D48 FDF0 move.l [A6 - 0x210], A0
000031F8 6008 bra +0xA /* 00003202 */
000031FA 41ED FF7A lea.l A0, [A5 - 0x86]
000031FE 2D48 FDF0 move.l [A6 - 0x210], A0
label00003202:
00003202 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003208 670C beq +0xE /* 00003216 */
0000320A 206E 0010 movea.l A0, [A6 + 0x10]
0000320E 58AE 0010 addq.l [A6 + 0x10], 4
00003212 2610 move.l D3, [A0]
00003214 600C bra +0xE /* 00003222 */
label00003216:
00003216 206E 0010 movea.l A0, [A6 + 0x10]
0000321A 54AE 0010 addq.l [A6 + 0x10], 2
0000321E 7600 moveq.l D3, 0x00
00003220 3610 move.w D3, [A0]
label00003222:
00003222 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003228 6706 beq +0x8 /* 00003230 */
0000322A 7000 moveq.l D0, 0x00
0000322C 3003 move.w D0, D3
0000322E 2600 move.l D3, D0
label00003230:
00003230 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003236 6628 bne +0x2A /* 00003260 */
00003238 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
0000323E 6712 beq +0x14 /* 00003252 */
00003240 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
00003246 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
0000324C 6704 beq +0x6 /* 00003252 */
0000324E 556E FDEA subq.w [A6 - 0x216], 2
label00003252:
00003252 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
00003258 6C06 bge +0x8 /* 00003260 */
0000325A 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label00003260:
00003260 7C00 moveq.l D6, 0x00
00003262 6012 bra +0x14 /* 00003276 */
label00003264:
00003264 700F moveq.l D0, 0x0F
00003266 C083 and.l D0, D3
00003268 D0AE FDF0 add.l D0, [A6 - 0x210]
0000326C 2040 movea.l A0, D0
0000326E 538A subq.l A2, 1
00003270 1490 move.b [A2], [A0]
00003272 E88B lsr D3, 4
00003274 5246 addq.w D6, 1
label00003276:
00003276 4A83 tst.l D3
00003278 66EA bne -0x14 /* 00003264 */
0000327A 6008 bra +0xA /* 00003284 */
label0000327C:
0000327C 538A subq.l A2, 1
0000327E 14BC 0030 move.b [A2], 0x30 /* '0' */
00003282 5246 addq.w D6, 1
label00003284:
00003284 BC6E FDEA cmp.w D6, [A6 - 0x216]
00003288 6DF2 blt -0xC /* 0000327C */
0000328A 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003290 6700 045A beq +0x45C /* 000036EC */
00003294 538A subq.l A2, 1
00003296 1487 move.b [A2], D7
00003298 538A subq.l A2, 1
0000329A 14BC 0030 move.b [A2], 0x30 /* '0' */
0000329E 5446 addq.w D6, 2
000032A0 6000 044A bra +0x44C /* 000036EC */
000032A4 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
000032AA 6718 beq +0x1A /* 000032C4 */
000032AC 206E 0010 movea.l A0, [A6 + 0x10]
000032B0 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
000032B8 43EE FFF4 lea.l A1, [A6 - 0xC]
000032BC 22D8 move.l [A1]+, [A0]+
000032BE 22D8 move.l [A1]+, [A0]+
000032C0 22D8 move.l [A1]+, [A0]+
000032C2 6016 bra +0x18 /* 000032DA */
label000032C4:
000032C4 206E 0010 movea.l A0, [A6 + 0x10]
000032C8 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
000032D0 43EE FFF4 lea.l A1, [A6 - 0xC]
000032D4 22D8 move.l [A1]+, [A0]+
000032D6 22D8 move.l [A1]+, [A0]+
000032D8 22D8 move.l [A1]+, [A0]+
label000032DA:
000032DA 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000032E0 6606 bne +0x8 /* 000032E8 */
000032E2 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
label000032E8:
000032E8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000032EC 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000032F0 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000032F4 486E FDC4 pea.l [A6 - 0x23C]
000032F8 3F2E FDEA move.w -[A7], [A6 - 0x216]
000032FC 3F3C 0001 move.w -[A7], 0x1
00003300 4EBA 0514 jsr [PC + 0x514 /* 00003816 */]
00003304 102E FDC8 move.b D0, [A6 - 0x238]
00003308 4880 ext.w D0
0000330A D06E FDC6 add.w D0, [A6 - 0x23A]
0000330E 3D40 FDE0 move.w [A6 - 0x220], D0
00003312 302E FDE0 move.w D0, [A6 - 0x220]
00003316 3D40 FDDE move.w [A6 - 0x222], D0
0000331A 5340 subq.w D0, 1
0000331C 4FEF 0014 lea.l A7, [A7 + 0x14]
00003320 6F06 ble +0x8 /* 00003328 */
00003322 3D7C 0001 FDDE move.w [A6 - 0x222], 0x1
label00003328:
00003328 302E FDE0 move.w D0, [A6 - 0x220]
0000332C D06E FDEA add.w D0, [A6 - 0x216]
00003330 3D40 FDE2 move.w [A6 - 0x21E], D0
00003334 302E FDE2 move.w D0, [A6 - 0x21E]
00003338 906E FDDE sub.w D0, [A6 - 0x222]
0000333C 0C40 01FC cmpi.w D0, 0x1FC
00003340 6F00 018C ble +0x18E /* 000034CE */
00003344 4878 0007 push.l 0x7
00003348 486D FF8C pea.l [A5 - 0x74]
0000334C 486E FDC8 pea.l [A6 - 0x238]
00003350 4EBA FAF6 jsr [PC - 0x50A /* 00002E48 */]
00003354 4FEF 000C lea.l A7, [A7 + 0xC]
00003358 6000 0174 bra +0x176 /* 000034CE */
0000335C 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
00003362 6718 beq +0x1A /* 0000337C */
00003364 206E 0010 movea.l A0, [A6 + 0x10]
00003368 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003370 43EE FFF4 lea.l A1, [A6 - 0xC]
00003374 22D8 move.l [A1]+, [A0]+
00003376 22D8 move.l [A1]+, [A0]+
00003378 22D8 move.l [A1]+, [A0]+
0000337A 6016 bra +0x18 /* 00003392 */
label0000337C:
0000337C 206E 0010 movea.l A0, [A6 + 0x10]
00003380 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003388 43EE FFF4 lea.l A1, [A6 - 0xC]
0000338C 22D8 move.l [A1]+, [A0]+
0000338E 22D8 move.l [A1]+, [A0]+
00003390 22D8 move.l [A1]+, [A0]+
label00003392:
00003392 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003398 6606 bne +0x8 /* 000033A0 */
0000339A 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
label000033A0:
000033A0 1D47 FDE7 move.b [A6 - 0x219], D7
000033A4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000033A8 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000033AC 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000033B0 486E FDC4 pea.l [A6 - 0x23C]
000033B4 7001 moveq.l D0, 0x01
000033B6 D06E FDEA add.w D0, [A6 - 0x216]
000033BA 3D40 FDE2 move.w [A6 - 0x21E], D0
000033BE 3F00 move.w -[A7], D0
000033C0 4267 clr.w -[A7]
000033C2 4EBA 0452 jsr [PC + 0x452 /* 00003816 */]
000033C6 7001 moveq.l D0, 0x01
000033C8 3D40 FDE0 move.w [A6 - 0x220], D0
000033CC 3D40 FDDE move.w [A6 - 0x222], D0
000033D0 102E FDC8 move.b D0, [A6 - 0x238]
000033D4 4880 ext.w D0
000033D6 5340 subq.w D0, 1
000033D8 D16E FDC6 add.w [A6 - 0x23A], D0
000033DC 4FEF 0014 lea.l A7, [A7 + 0x14]
000033E0 6000 00EC bra +0xEE /* 000034CE */
000033E4 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
000033EA 6718 beq +0x1A /* 00003404 */
000033EC 206E 0010 movea.l A0, [A6 + 0x10]
000033F0 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
000033F8 43EE FFF4 lea.l A1, [A6 - 0xC]
000033FC 22D8 move.l [A1]+, [A0]+
000033FE 22D8 move.l [A1]+, [A0]+
00003400 22D8 move.l [A1]+, [A0]+
00003402 6016 bra +0x18 /* 0000341A */
label00003404:
00003404 206E 0010 movea.l A0, [A6 + 0x10]
00003408 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003410 43EE FFF4 lea.l A1, [A6 - 0xC]
00003414 22D8 move.l [A1]+, [A0]+
00003416 22D8 move.l [A1]+, [A0]+
00003418 22D8 move.l [A1]+, [A0]+
label0000341A:
0000341A 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003420 6608 bne +0xA /* 0000342A */
00003422 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
00003428 600C bra +0xE /* 00003436 */
label0000342A:
0000342A 4A6E FDEA tst.w [A6 - 0x216]
0000342E 6606 bne +0x8 /* 00003436 */
00003430 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label00003436:
00003436 70FE moveq.l D0, 0xFFFFFFFE
00003438 D007 add.b D0, D7
0000343A 1D40 FDE7 move.b [A6 - 0x219], D0
0000343E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003442 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003446 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000344A 486E FDC4 pea.l [A6 - 0x23C]
0000344E 302E FDEA move.w D0, [A6 - 0x216]
00003452 3D40 FDE2 move.w [A6 - 0x21E], D0
00003456 3F00 move.w -[A7], D0
00003458 4267 clr.w -[A7]
0000345A 4EBA 03BA jsr [PC + 0x3BA /* 00003816 */]
0000345E 7001 moveq.l D0, 0x01
00003460 3D40 FDE0 move.w [A6 - 0x220], D0
00003464 3D40 FDDE move.w [A6 - 0x222], D0
00003468 102E FDC8 move.b D0, [A6 - 0x238]
0000346C 4880 ext.w D0
0000346E 5340 subq.w D0, 1
00003470 D16E FDC6 add.w [A6 - 0x23A], D0
00003474 0C6E FFFC FDC6 cmpi.w [A6 - 0x23A], 0xFFFC
0000347A 4FEF 0014 lea.l A7, [A7 + 0x14]
0000347E 6D24 blt +0x26 /* 000034A4 */
00003480 302E FDC6 move.w D0, [A6 - 0x23A]
00003484 B06E FDEA cmp.w D0, [A6 - 0x216]
00003488 6C1A bge +0x1C /* 000034A4 */
0000348A 422E FDE7 clr.b [A6 - 0x219]
0000348E 302E FDC6 move.w D0, [A6 - 0x23A]
00003492 D16E FDE0 add.w [A6 - 0x220], D0
00003496 0C6E 0001 FDE0 cmpi.w [A6 - 0x220], 0x1
0000349C 6C06 bge +0x8 /* 000034A4 */
0000349E 3D6E FDE0 FDDE move.w [A6 - 0x222], [A6 - 0x220]
label000034A4:
000034A4 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
000034AA 6622 bne +0x24 /* 000034CE */
000034AC 102E FDC8 move.b D0, [A6 - 0x238]
000034B0 4880 ext.w D0
000034B2 B06E FDE2 cmp.w D0, [A6 - 0x21E]
000034B6 6C16 bge +0x18 /* 000034CE */
000034B8 102E FDC8 move.b D0, [A6 - 0x238]
000034BC 4880 ext.w D0
000034BE 3D40 FDE2 move.w [A6 - 0x21E], D0
000034C2 B06E FDE0 cmp.w D0, [A6 - 0x220]
000034C6 6C06 bge +0x8 /* 000034CE */
000034C8 3D6E FDE0 FDE2 move.w [A6 - 0x21E], [A6 - 0x220]
label000034CE:
000034CE 0C2E 0039 FDC9 cmpi.b [A6 - 0x237], 0x39 /* '9' */
000034D4 6F18 ble +0x1A /* 000034EE */
000034D6 422E FDE7 clr.b [A6 - 0x219]
000034DA 426E FDE0 clr.w [A6 - 0x220]
000034DE 3D7C 0001 FDDE move.w [A6 - 0x222], 0x1
000034E4 102E FDC8 move.b D0, [A6 - 0x238]
000034E8 4880 ext.w D0
000034EA 3D40 FDE2 move.w [A6 - 0x21E], D0
label000034EE:
000034EE 7C00 moveq.l D6, 0x00
000034F0 4A2E FDE7 tst.b [A6 - 0x219]
000034F4 6764 beq +0x66 /* 0000355A */
000034F6 4A6E FDC6 tst.w [A6 - 0x23A]
000034FA 6C08 bge +0xA /* 00003504 */
000034FC 302E FDC6 move.w D0, [A6 - 0x23A]
00003500 4440 neg.w D0
00003502 6004 bra +0x6 /* 00003508 */
label00003504:
00003504 302E FDC6 move.w D0, [A6 - 0x23A]
label00003508:
00003508 48C0 ext.l D0
0000350A 2600 move.l D3, D0
0000350C 6020 bra +0x22 /* 0000352E */
label0000350E:
0000350E 4878 000A push.l 0xA /* '\n' */
00003512 2F03 move.l -[A7], D3
00003514 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00003518 0600 0030 addi.b D0, 0x30 /* '0' */
0000351C 538A subq.l A2, 1
0000351E 1480 move.b [A2], D0
00003520 4878 000A push.l 0xA /* '\n' */
00003524 2F03 move.l -[A7], D3
00003526 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
0000352A 2600 move.l D3, D0
0000352C 5246 addq.w D6, 1
label0000352E:
0000352E 4A83 tst.l D3
00003530 66DC bne -0x22 /* 0000350E */
00003532 6008 bra +0xA /* 0000353C */
label00003534:
00003534 538A subq.l A2, 1
00003536 14BC 0030 move.b [A2], 0x30 /* '0' */
0000353A 5246 addq.w D6, 1
label0000353C:
0000353C 0C46 0002 cmpi.w D6, 0x2
00003540 6DF2 blt -0xC /* 00003534 */
00003542 4A6E FDC6 tst.w [A6 - 0x23A]
00003546 6C04 bge +0x6 /* 0000354C */
00003548 702D moveq.l D0, 0x2D
0000354A 6002 bra +0x4 /* 0000354E */
label0000354C:
0000354C 702B moveq.l D0, 0x2B
label0000354E:
0000354E 538A subq.l A2, 1
00003550 1480 move.b [A2], D0
00003552 538A subq.l A2, 1
00003554 14AE FDE7 move.b [A2], [A6 - 0x219]
00003558 5446 addq.w D6, 2
label0000355A:
0000355A 3A2E FDE2 move.w D5, [A6 - 0x21E]
0000355E BA6E FDE0 cmp.w D5, [A6 - 0x220]
00003562 660C bne +0xE /* 00003570 */
00003564 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
0000356A 6604 bne +0x6 /* 00003570 */
0000356C 526E FDE0 addq.w [A6 - 0x220], 1
label00003570:
00003570 BA6E FDE0 cmp.w D5, [A6 - 0x220]
00003574 6608 bne +0xA /* 0000357E */
00003576 538A subq.l A2, 1
00003578 14BC 002E move.b [A2], 0x2E /* '.' */
0000357C 5246 addq.w D6, 1
label0000357E:
0000357E 4A45 tst.w D5
00003580 6F16 ble +0x18 /* 00003598 */
00003582 102E FDC8 move.b D0, [A6 - 0x238]
00003586 4880 ext.w D0
00003588 B045 cmp.w D0, D5
0000358A 6D0C blt +0xE /* 00003598 */
0000358C 204E movea.l A0, A6
0000358E D0C5 add.w A0, D5
00003590 1028 FDC8 move.b D0, [A0 - 0x238]
00003594 4880 ext.w D0
00003596 6002 bra +0x4 /* 0000359A */
label00003598:
00003598 7030 moveq.l D0, 0x30
label0000359A:
0000359A 538A subq.l A2, 1
0000359C 1480 move.b [A2], D0
0000359E 5345 subq.w D5, 1
000035A0 BA6E FDDE cmp.w D5, [A6 - 0x222]
000035A4 6CCA bge -0x34 /* 00003570 */
000035A6 302E FDE2 move.w D0, [A6 - 0x21E]
000035AA 9045 sub.w D0, D5
000035AC DC40 add.w D6, D0
000035AE 4A2E FDC4 tst.b [A6 - 0x23C]
000035B2 6708 beq +0xA /* 000035BC */
000035B4 1D7C 002D FDE6 move.b [A6 - 0x21A], 0x2D /* '-' */
000035BA 600E bra +0x10 /* 000035CA */
label000035BC:
000035BC 082E 0006 FDE4 btst.b [A6 - 0x21C], 0x6
000035C2 6706 beq +0x8 /* 000035CA */
000035C4 1D7C 002B FDE6 move.b [A6 - 0x21A], 0x2B /* '+' */
label000035CA:
000035CA 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
000035D0 671A beq +0x1C /* 000035EC */
000035D2 3A2E FDE8 move.w D5, [A6 - 0x218]
000035D6 4A2E FDE6 tst.b [A6 - 0x21A]
000035DA 670C beq +0xE /* 000035E8 */
000035DC 5345 subq.w D5, 1
000035DE 6008 bra +0xA /* 000035E8 */
label000035E0:
000035E0 538A subq.l A2, 1
000035E2 14BC 0030 move.b [A2], 0x30 /* '0' */
000035E6 5246 addq.w D6, 1
label000035E8:
000035E8 BA46 cmp.w D5, D6
000035EA 6EF4 bgt -0xA /* 000035E0 */
label000035EC:
000035EC 4A2E FDE6 tst.b [A6 - 0x21A]
000035F0 6700 00FA beq +0xFC /* 000036EC */
000035F4 538A subq.l A2, 1
000035F6 14AE FDE6 move.b [A2], [A6 - 0x21A]
000035FA 5246 addq.w D6, 1
000035FC 6000 00EE bra +0xF0 /* 000036EC */
00003600 206E 0010 movea.l A0, [A6 + 0x10]
00003604 54AE 0010 addq.l [A6 + 0x10], 2
00003608 538A subq.l A2, 1
0000360A 14A8 0001 move.b [A2], [A0 + 0x1]
0000360E 7C01 moveq.l D6, 0x01
00003610 6000 00DA bra +0xDC /* 000036EC */
00003614 206E 0010 movea.l A0, [A6 + 0x10]
00003618 58AE 0010 addq.l [A6 + 0x10], 4
0000361C 2450 movea.l A2, [A0]
0000361E 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003624 671E beq +0x20 /* 00003644 */
00003626 7C00 moveq.l D6, 0x00
00003628 1C1A move.b D6, [A2]+
0000362A 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003630 6700 00BA beq +0xBC /* 000036EC */
00003634 BC6E FDEA cmp.w D6, [A6 - 0x216]
00003638 6F00 00B2 ble +0xB4 /* 000036EC */
0000363C 3C2E FDEA move.w D6, [A6 - 0x216]
00003640 6000 00AA bra +0xAC /* 000036EC */
label00003644:
00003644 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
0000364A 660E bne +0x10 /* 0000365A */
0000364C 2F0A move.l -[A7], A2
0000364E 4EBA 10A4 jsr [PC + 0x10A4 /* 000046F4 */]
00003652 3C00 move.w D6, D0
00003654 588F addq.l A7, 4
00003656 6000 0094 bra +0x96 /* 000036EC */
label0000365A:
0000365A 306E FDEA movea.w A0, [A6 - 0x216]
0000365E 2F08 move.l -[A7], A0
00003660 4267 clr.w -[A7]
00003662 2F0A move.l -[A7], A2
00003664 4EBA F842 jsr [PC - 0x7BE /* 00002EA8 */]
00003668 2D40 FDEC move.l [A6 - 0x214], D0
0000366C 4FEF 000A lea.l A7, [A7 + 0xA]
00003670 6708 beq +0xA /* 0000367A */
00003672 2C2E FDEC move.l D6, [A6 - 0x214]
00003676 9C8A sub.l D6, A2
00003678 6072 bra +0x74 /* 000036EC */
label0000367A:
0000367A 3C2E FDEA move.w D6, [A6 - 0x216]
0000367E 606C bra +0x6E /* 000036EC */
00003680 206E 0010 movea.l A0, [A6 + 0x10]
00003684 58AE 0010 addq.l [A6 + 0x10], 4
00003688 2450 movea.l A2, [A0]
0000368A 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003690 6706 beq +0x8 /* 00003698 */
00003692 3484 move.w [A2], D4
00003694 6000 0102 bra +0x104 /* 00003798 */
label00003698:
00003698 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
0000369E 6708 beq +0xA /* 000036A8 */
000036A0 3044 movea.w A0, D4
000036A2 2488 move.l [A2], A0
000036A4 6000 00F2 bra +0xF4 /* 00003798 */
label000036A8:
000036A8 3484 move.w [A2], D4
000036AA 6000 00EC bra +0xEE /* 00003798 */
label000036AE:
000036AE 0C47 0025 cmpi.w D7, 0x25 /* '%' */
000036B2 6600 00F0 bne +0xF2 /* 000037A4 */
label000036B6:
000036B6 202C 0012 move.l D0, [A4 + 0x12]
000036BA 53AC 0012 subq.l [A4 + 0x12], 1
000036BE 5380 subq.l D0, 1
000036C0 6310 bls +0x12 /* 000036D2 */
000036C2 206C 000E movea.l A0, [A4 + 0xE]
000036C6 52AC 000E addq.l [A4 + 0xE], 1
000036CA 1087 move.b [A0], D7
000036CC 7000 moveq.l D0, 0x00
000036CE 1007 move.b D0, D7
000036D0 600A bra +0xC /* 000036DC */
label000036D2:
000036D2 2F0C move.l -[A7], A4
000036D4 3F07 move.w -[A7], D7
000036D6 4EBA CE16 jsr [PC - 0x31EA /* 000004EE */]
000036DA 5C8F addq.l A7, 6
label000036DC:
000036DC 4A40 tst.w D0
000036DE 6C06 bge +0x8 /* 000036E6 */
000036E0 70FF moveq.l D0, 0xFFFFFFFF
000036E2 6000 00C2 bra +0xC4 /* 000037A6 */
label000036E6:
000036E6 5244 addq.w D4, 1
000036E8 6000 00AE bra +0xB0 /* 00003798 */
label000036EC:
000036EC BC6E FDE8 cmp.w D6, [A6 - 0x218]
000036F0 6C46 bge +0x48 /* 00003738 */
000036F2 4A2E FDE4 tst.b [A6 - 0x21C]
000036F6 6B40 bmi +0x42 /* 00003738 */
label000036F8:
000036F8 202C 0012 move.l D0, [A4 + 0x12]
000036FC 53AC 0012 subq.l [A4 + 0x12], 1
00003700 5380 subq.l D0, 1
00003702 6312 bls +0x14 /* 00003716 */
00003704 206C 000E movea.l A0, [A4 + 0xE]
00003708 52AC 000E addq.l [A4 + 0xE], 1
0000370C 7020 moveq.l D0, 0x20
0000370E 1080 move.b [A0], D0
00003710 7200 moveq.l D1, 0x00
00003712 1200 move.b D1, D0
00003714 600E bra +0x10 /* 00003724 */
label00003716:
00003716 2F0C move.l -[A7], A4
00003718 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
0000371C 4EBA CDD0 jsr [PC - 0x3230 /* 000004EE */]
00003720 3200 move.w D1, D0
00003722 5C8F addq.l A7, 6
label00003724:
00003724 4A41 tst.w D1
00003726 6C04 bge +0x6 /* 0000372C */
00003728 70FF moveq.l D0, 0xFFFFFFFF
0000372A 607A bra +0x7C /* 000037A6 */
label0000372C:
0000372C 5244 addq.w D4, 1
0000372E 536E FDE8 subq.w [A6 - 0x218], 1
00003732 BC6E FDE8 cmp.w D6, [A6 - 0x218]
00003736 6DC0 blt -0x3E /* 000036F8 */
label00003738:
00003738 2F0C move.l -[A7], A4
0000373A 3046 movea.w A0, D6
0000373C 2F08 move.l -[A7], A0
0000373E 4878 0001 push.l 0x1
00003742 2F0A move.l -[A7], A2
00003744 4EBA F240 jsr [PC - 0xDC0 /* 00002986 */]
00003748 3046 movea.w A0, D6
0000374A B1C0 cmpa.l A0, D0
0000374C 4FEF 0010 lea.l A7, [A7 + 0x10]
00003750 6704 beq +0x6 /* 00003756 */
00003752 70FF moveq.l D0, 0xFFFFFFFF
00003754 6050 bra +0x52 /* 000037A6 */
label00003756:
00003756 D846 add.w D4, D6
00003758 6038 bra +0x3A /* 00003792 */
label0000375A:
0000375A 202C 0012 move.l D0, [A4 + 0x12]
0000375E 53AC 0012 subq.l [A4 + 0x12], 1
00003762 5380 subq.l D0, 1
00003764 6312 bls +0x14 /* 00003778 */
00003766 206C 000E movea.l A0, [A4 + 0xE]
0000376A 52AC 000E addq.l [A4 + 0xE], 1
0000376E 7020 moveq.l D0, 0x20
00003770 1080 move.b [A0], D0
00003772 7200 moveq.l D1, 0x00
00003774 1200 move.b D1, D0
00003776 600E bra +0x10 /* 00003786 */
label00003778:
00003778 2F0C move.l -[A7], A4
0000377A 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
0000377E 4EBA CD6E jsr [PC - 0x3292 /* 000004EE */]
00003782 3200 move.w D1, D0
00003784 5C8F addq.l A7, 6
label00003786:
00003786 4A41 tst.w D1
00003788 6C04 bge +0x6 /* 0000378E */
0000378A 70FF moveq.l D0, 0xFFFFFFFF
0000378C 6018 bra +0x1A /* 000037A6 */
label0000378E:
0000378E 5244 addq.w D4, 1
00003790 5246 addq.w D6, 1
label00003792:
00003792 BC6E FDE8 cmp.w D6, [A6 - 0x218]
00003796 6DC2 blt -0x3C /* 0000375A */
label00003798:
00003798 528B addq.l A3, 1
0000379A 1E13 move.b D7, [A3]
0000379C 4887 ext.w D7
label0000379E:
0000379E 4A47 tst.w D7
000037A0 6600 F756 bne -0x8A8 /* 00002EF8 */
label000037A4:
000037A4 3004 move.w D0, D4
label000037A6:
000037A6 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000037AA 4E5E unlink A6
000037AC 4E75 rts
000037AE FBAE .invalid <<F/6/5>>
000037B0 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037B2 FC36 FF00 .unknown 0xFC36 0xFF00 (W = 6)
000037B6 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037B8 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037BA FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037BC F896 FF00 .extension 0x896 <<F/2-3/4>> // unimplemented
000037C0 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037C2 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037C4 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037C6 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037C8 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037CA FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037CC FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037CE FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037D0 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037D2 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037D4 FA42 FF00 .extension 0xA42 <<F/1/5>>, 0xFF00 // unimplemented
000037D8 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037DA FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037DC FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037DE FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037E0 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037E2 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037E4 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037E6 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037E8 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037EA FE52 F8A4 .extension 0xE52 <<F/1/7>>, 0xF8A4 // unimplemented
000037EE FBAE .invalid <<F/6/5>>
000037F0 FAF6 FC36 .extension 0xAF6 <<F/2-3/5>> // unimplemented
000037F4 F87A F8A4 .extension 0x87A <<F/1/4>>, 0xF8A4 // unimplemented
000037F8 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037FA FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000037FC F888 FF00 .extension 0x888 <<F/2-3/4>> // unimplemented
00003800 FED2 F998 .extension 0xED2 <<F/2-3/7>> // unimplemented
00003804 FA30 FF00 .unknown 0xFA30 0xFF00 (W = 5)
00003808 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000380A FE66 FF00 .extension 0xE66 <<F/1/7>>, 0xFF00 // unimplemented
0000380E F8EC FF00 .extension 0x8EC <<F/2-3/4>> // unimplemented
00003812 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003814 FA4C 4E56 .extension 0xA4C <<F/1/5>>, 0x4E56 // unimplemented
// begin alternate branch 00003816-0000381A
fn00003816:
00003816 4E56 FFFC link A6, -0x0004
// end alternate branch 00003816-0000381A
fn00003816: // (misaligned)
00003818 FFFC .invalid <<F/7/7>>
0000381A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000381E 286E 000C movea.l A4, [A6 + 0xC]
00003822 3E2E 000A move.w D7, [A6 + 0xA]
00003826 47EE 0010 lea.l A3, [A6 + 0x10]
0000382A 548B addq.l A3, 2
0000382C 0C47 0014 cmpi.w D7, 0x14
00003830 6502 bcs +0x4 /* 00003834 */
00003832 7E13 moveq.l D7, 0x13
label00003834:
00003834 1D6E 0009 FFFC move.b [A6 - 0x4], [A6 + 0x9]
0000383A 3D47 FFFE move.w [A6 - 0x2], D7
0000383E 486E FFFC pea.l [A6 - 0x4]
00003842 2F0B move.l -[A7], A3
00003844 2F0C move.l -[A7], A4
00003846 3F3C 000B move.w -[A7], 0xB
0000384A A9EB syscall Pack4/FP68K
0000384C 0C2C 003F 0005 cmpi.b [A4 + 0x5], 0x3F /* '?' */
00003852 6618 bne +0x1A /* 0000386C */
00003854 422E FFFC clr.b [A6 - 0x4]
00003858 3D7C 0013 FFFE move.w [A6 - 0x2], 0x13
0000385E 486E FFFC pea.l [A6 - 0x4]
00003862 2F0B move.l -[A7], A3
00003864 2F0C move.l -[A7], A4
00003866 3F3C 000B move.w -[A7], 0xB
0000386A A9EB syscall Pack4/FP68K
label0000386C:
0000386C 1C2C 0004 move.b D6, [A4 + 0x4]
00003870 4886 ext.w D6
00003872 6006 bra +0x8 /* 0000387A */
label00003874:
00003874 526C 0002 addq.w [A4 + 0x2], 1
00003878 5346 subq.w D6, 1
label0000387A:
0000387A 0C46 0001 cmpi.w D6, 0x1
0000387E 6F08 ble +0xA /* 00003888 */
00003880 0C34 0030 6004 cmpi.b [A4 + D6.w + 0x4], 0x30 /* '0' */
00003886 67EC beq -0x12 /* 00003874 */
label00003888:
00003888 1946 0004 move.b [A4 + 0x4], D6
0000388C 0C2C 0030 0005 cmpi.b [A4 + 0x5], 0x30 /* '0' */
00003892 6608 bne +0xA /* 0000389C */
00003894 4214 clr.b [A4]
00003896 426C 0002 clr.w [A4 + 0x2]
0000389A 6036 bra +0x38 /* 000038D2 */
label0000389C:
0000389C 0C2C 0049 0005 cmpi.b [A4 + 0x5], 0x49 /* 'I' */
000038A2 6614 bne +0x16 /* 000038B8 */
000038A4 197C 0003 0004 move.b [A4 + 0x4], 0x3
000038AA 197C 004E 0006 move.b [A4 + 0x6], 0x4E /* 'N' */
000038B0 197C 0046 0007 move.b [A4 + 0x7], 0x46 /* 'F' */
000038B6 601A bra +0x1C /* 000038D2 */
label000038B8:
000038B8 0C2C 004E 0005 cmpi.b [A4 + 0x5], 0x4E /* 'N' */
000038BE 6612 bne +0x14 /* 000038D2 */
000038C0 197C 0005 0004 move.b [A4 + 0x4], 0x5
000038C6 197C 0041 0006 move.b [A4 + 0x6], 0x41 /* 'A' */
000038CC 197C 004E 0007 move.b [A4 + 0x7], 0x4E /* 'N' */
label000038D2:
000038D2 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000038D6 4E5E unlink A6
000038D8 4E75 rts
fn000038DA:
000038DA 4E56 FFD8 link A6, -0x0028
000038DE 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000038E2 426E FFFE clr.w [A6 - 0x2]
000038E6 426E FFFC clr.w [A6 - 0x4]
000038EA 426E FFFA clr.w [A6 - 0x6]
000038EE 206E 000C movea.l A0, [A6 + 0xC]
000038F2 1E10 move.b D7, [A0]
000038F4 4887 ext.w D7
000038F6 6000 087C bra +0x87E /* 00004174 */
label000038FA:
000038FA 0C47 0025 cmpi.w D7, 0x25 /* '%' */
000038FE 6600 02EA bne +0x2EC /* 00003BEA */
00003902 2D6D FF94 FFF0 move.l [A6 - 0x10], [A5 - 0x6C]
00003908 52AE 000C addq.l [A6 + 0xC], 1
0000390C 206E 000C movea.l A0, [A6 + 0xC]
00003910 1E10 move.b D7, [A0]
00003912 4887 ext.w D7
00003914 0C47 002A cmpi.w D7, 0x2A /* '*' */
00003918 6612 bne +0x14 /* 0000392C */
0000391A 08EE 0007 FFF0 bset.b [A6 - 0x10], 0x7
00003920 52AE 000C addq.l [A6 + 0xC], 1
00003924 206E 000C movea.l A0, [A6 + 0xC]
00003928 1E10 move.b D7, [A0]
0000392A 4887 ext.w D7
label0000392C:
0000392C 7000 moveq.l D0, 0x00
0000392E 1007 move.b D0, D7
00003930 204D movea.l A0, A5
00003932 D1C0 add.l A0, D0
00003934 0828 0004 FBEA btst.b [A0 - 0x416], 0x4
0000393A 673A beq +0x3C /* 00003976 */
0000393C 08EE 0006 FFF0 bset.b [A6 - 0x10], 0x6
label00003942:
00003942 700A moveq.l D0, 0x0A
00003944 C1EE FFF2 muls.w D0, [A6 - 0xE]
00003948 0640 FFD0 addi.w D0, 0xFFD0
0000394C D047 add.w D0, D7
0000394E 3D40 FFF2 move.w [A6 - 0xE], D0
00003952 52AE 000C addq.l [A6 + 0xC], 1
00003956 206E 000C movea.l A0, [A6 + 0xC]
0000395A 1E10 move.b D7, [A0]
0000395C 4887 ext.w D7
0000395E 7000 moveq.l D0, 0x00
00003960 1007 move.b D0, D7
00003962 204D movea.l A0, A5
00003964 D1C0 add.l A0, D0
00003966 0828 0004 FBEA btst.b [A0 - 0x416], 0x4
0000396C 66D4 bne -0x2A /* 00003942 */
0000396E 4A6E FFF2 tst.w [A6 - 0xE]
00003972 6F00 0806 ble +0x808 /* 0000417A */
label00003976:
00003976 3007 move.w D0, D7
00003978 0440 003F subi.w D0, 0x3F /* '?' */
0000397C 0C40 0039 cmpi.w D0, 0x39 /* '9' */
00003980 6200 0260 bhi +0x262 /* 00003BE2 */
00003984 43FA 0810 lea.l A1, [PC + 0x810 /* 00004196, value 0xF836FA4C */]
00003988 D040 add.w D0, D0
0000398A D2F1 0000 add.w A1, [A1 + D0.w]
0000398E 4ED1 jmp [A1]
00003990 08EE 0007 FFF1 bset.b [A6 - 0xF], 0x7
00003996 52AE 000C addq.l [A6 + 0xC], 1
0000399A 206E 000C movea.l A0, [A6 + 0xC]
0000399E 1E10 move.b D7, [A0]
000039A0 4887 ext.w D7
000039A2 60D2 bra -0x2C /* 00003976 */
000039A4 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
000039AA 52AE 000C addq.l [A6 + 0xC], 1
000039AE 206E 000C movea.l A0, [A6 + 0xC]
000039B2 1E10 move.b D7, [A0]
000039B4 4887 ext.w D7
000039B6 60BE bra -0x40 /* 00003976 */
000039B8 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
000039BE 52AE 000C addq.l [A6 + 0xC], 1
000039C2 206E 000C movea.l A0, [A6 + 0xC]
000039C6 1E10 move.b D7, [A0]
000039C8 4887 ext.w D7
000039CA 60AA bra -0x54 /* 00003976 */
000039CC 08EE 0005 FFF0 bset.b [A6 - 0x10], 0x5
000039D2 52AE 000C addq.l [A6 + 0xC], 1
000039D6 206E 000C movea.l A0, [A6 + 0xC]
000039DA 1E10 move.b D7, [A0]
000039DC 4887 ext.w D7
000039DE 6096 bra -0x68 /* 00003976 */
000039E0 7C0A moveq.l D6, 0x0A
000039E2 6000 036E bra +0x370 /* 00003D52 */
000039E6 7C00 moveq.l D6, 0x00
000039E8 6000 0368 bra +0x36A /* 00003D52 */
000039EC 7C08 moveq.l D6, 0x08
000039EE 6000 035C bra +0x35E /* 00003D4C */
000039F2 7C0A moveq.l D6, 0x0A
000039F4 6000 0356 bra +0x358 /* 00003D4C */
000039F8 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
000039FE 7C10 moveq.l D6, 0x10
00003A00 6000 034A bra +0x34C /* 00003D4C */
00003A04 08EE 0001 FFF0 bset.b [A6 - 0x10], 0x1
00003A0A 3D7C FFFF FFF6 move.w [A6 - 0xA], 0xFFFF
00003A10 6000 0356 bra +0x358 /* 00003D68 */
label00003A14:
00003A14 206E 0008 movea.l A0, [A6 + 0x8]
00003A18 2028 0012 move.l D0, [A0 + 0x12]
00003A1C 53A8 0012 subq.l [A0 + 0x12], 1
00003A20 4A80 tst.l D0
00003A22 6712 beq +0x14 /* 00003A36 */
00003A24 206E 0008 movea.l A0, [A6 + 0x8]
00003A28 2268 000E movea.l A1, [A0 + 0xE]
00003A2C 52A8 000E addq.l [A0 + 0xE], 1
00003A30 7000 moveq.l D0, 0x00
00003A32 1011 move.b D0, [A1]
00003A34 600A bra +0xC /* 00003A40 */
label00003A36:
00003A36 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003A3A 4EBA CA50 jsr [PC - 0x35B0 /* 0000048C */]
00003A3E 588F addq.l A7, 4
label00003A40:
00003A40 3E00 move.w D7, D0
00003A42 526E FFFA addq.w [A6 - 0x6], 1
00003A46 7000 moveq.l D0, 0x00
00003A48 1007 move.b D0, D7
00003A4A 204D movea.l A0, A5
00003A4C D1C0 add.l A0, D0
00003A4E 7006 moveq.l D0, 0x06
00003A50 C028 FBEA and.b D0, [A0 - 0x416]
00003A54 66BE bne -0x40 /* 00003A14 */
00003A56 3F3C 0001 move.w -[A7], 0x1
00003A5A 4EBA 07AE jsr [PC + 0x7AE /* 0000420A */]
00003A5E 548F addq.l A7, 2
00003A60 6000 0240 bra +0x242 /* 00003CA2 */
00003A64 52AE 000C addq.l [A6 + 0xC], 1
00003A68 206E 000C movea.l A0, [A6 + 0xC]
00003A6C 1E10 move.b D7, [A0]
00003A6E 4887 ext.w D7
00003A70 0C47 005E cmpi.w D7, 0x5E /* '^' */
00003A74 6612 bne +0x14 /* 00003A88 */
00003A76 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00003A7C 52AE 000C addq.l [A6 + 0xC], 1
00003A80 206E 000C movea.l A0, [A6 + 0xC]
00003A84 1E10 move.b D7, [A0]
00003A86 4887 ext.w D7
label00003A88:
00003A88 4267 clr.w -[A7]
00003A8A 4EBA 077E jsr [PC + 0x77E /* 0000420A */]
00003A8E 548F addq.l A7, 2
label00003A90:
00003A90 4A47 tst.w D7
00003A92 6700 06E6 beq +0x6E8 /* 0000417A */
00003A96 7000 moveq.l D0, 0x00
00003A98 1007 move.b D0, D7
00003A9A 3F00 move.w -[A7], D0
00003A9C 4EBA 07A0 jsr [PC + 0x7A0 /* 0000423E */]
00003AA0 548F addq.l A7, 2
00003AA2 52AE 000C addq.l [A6 + 0xC], 1
00003AA6 206E 000C movea.l A0, [A6 + 0xC]
00003AAA 1E10 move.b D7, [A0]
00003AAC 4887 ext.w D7
00003AAE 0C47 005D cmpi.w D7, 0x5D /* ']' */
00003AB2 6758 beq +0x5A /* 00003B0C */
00003AB4 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003AB8 66D6 bne -0x28 /* 00003A90 */
00003ABA 206E 000C movea.l A0, [A6 + 0xC]
00003ABE 0C28 005D 0001 cmpi.b [A0 + 0x1], 0x5D /* ']' */
00003AC4 67CA beq -0x34 /* 00003A90 */
00003AC6 206E 000C movea.l A0, [A6 + 0xC]
00003ACA 1028 0001 move.b D0, [A0 + 0x1]
00003ACE 4880 ext.w D0
00003AD0 1220 move.b D1, -[A0]
00003AD2 1D41 FFF5 move.b [A6 - 0xB], D1
00003AD6 7400 moveq.l D2, 0x00
00003AD8 1401 move.b D2, D1
00003ADA B440 cmp.w D2, D0
00003ADC 6EB2 bgt -0x4C /* 00003A90 */
00003ADE 52AE 000C addq.l [A6 + 0xC], 1
00003AE2 206E 000C movea.l A0, [A6 + 0xC]
00003AE6 1E10 move.b D7, [A0]
00003AE8 4887 ext.w D7
00003AEA 6014 bra +0x16 /* 00003B00 */
label00003AEC:
00003AEC 102E FFF5 move.b D0, [A6 - 0xB]
00003AF0 522E FFF5 addq.b [A6 - 0xB], 1
00003AF4 7200 moveq.l D1, 0x00
00003AF6 1200 move.b D1, D0
00003AF8 3F01 move.w -[A7], D1
00003AFA 4EBA 0742 jsr [PC + 0x742 /* 0000423E */]
00003AFE 548F addq.l A7, 2
label00003B00:
00003B00 7000 moveq.l D0, 0x00
00003B02 102E FFF5 move.b D0, [A6 - 0xB]
00003B06 BE40 cmp.w D7, D0
00003B08 66E2 bne -0x1C /* 00003AEC */
00003B0A 6084 bra -0x7A /* 00003A90 */
label00003B0C:
00003B0C 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00003B12 6704 beq +0x6 /* 00003B18 */
00003B14 4EBA 0748 jsr [PC + 0x748 /* 0000425E */]
label00003B18:
00003B18 206E 0008 movea.l A0, [A6 + 0x8]
00003B1C 2028 0012 move.l D0, [A0 + 0x12]
00003B20 53A8 0012 subq.l [A0 + 0x12], 1
00003B24 4A80 tst.l D0
00003B26 6712 beq +0x14 /* 00003B3A */
00003B28 206E 0008 movea.l A0, [A6 + 0x8]
00003B2C 2268 000E movea.l A1, [A0 + 0xE]
00003B30 52A8 000E addq.l [A0 + 0xE], 1
00003B34 7000 moveq.l D0, 0x00
00003B36 1011 move.b D0, [A1]
00003B38 600A bra +0xC /* 00003B44 */
label00003B3A:
00003B3A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003B3E 4EBA C94C jsr [PC - 0x36B4 /* 0000048C */]
00003B42 588F addq.l A7, 4
label00003B44:
00003B44 3E00 move.w D7, D0
00003B46 526E FFFA addq.w [A6 - 0x6], 1
00003B4A 6000 0156 bra +0x158 /* 00003CA2 */
00003B4E 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003B54 6606 bne +0x8 /* 00003B5C */
00003B56 3D7C 0001 FFF2 move.w [A6 - 0xE], 0x1
label00003B5C:
00003B5C 4A2E FFF0 tst.b [A6 - 0x10]
00003B60 6B4C bmi +0x4E /* 00003BAE */
00003B62 206E 0010 movea.l A0, [A6 + 0x10]
00003B66 58AE 0010 addq.l [A6 + 0x10], 4
00003B6A 2850 movea.l A4, [A0]
00003B6C 6040 bra +0x42 /* 00003BAE */
label00003B6E:
00003B6E 206E 0008 movea.l A0, [A6 + 0x8]
00003B72 2028 0012 move.l D0, [A0 + 0x12]
00003B76 53A8 0012 subq.l [A0 + 0x12], 1
00003B7A 4A80 tst.l D0
00003B7C 6712 beq +0x14 /* 00003B90 */
00003B7E 206E 0008 movea.l A0, [A6 + 0x8]
00003B82 2268 000E movea.l A1, [A0 + 0xE]
00003B86 52A8 000E addq.l [A0 + 0xE], 1
00003B8A 7000 moveq.l D0, 0x00
00003B8C 1011 move.b D0, [A1]
00003B8E 600A bra +0xC /* 00003B9A */
label00003B90:
00003B90 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003B94 4EBA C8F6 jsr [PC - 0x370A /* 0000048C */]
00003B98 588F addq.l A7, 4
label00003B9A:
00003B9A 3E00 move.w D7, D0
00003B9C 5240 addq.w D0, 1
00003B9E 6700 05DA beq +0x5DC /* 0000417A */
00003BA2 4A2E FFF0 tst.b [A6 - 0x10]
00003BA6 6B02 bmi +0x4 /* 00003BAA */
00003BA8 18C7 move.b [A4]+, D7
label00003BAA:
00003BAA 526E FFFA addq.w [A6 - 0x6], 1
label00003BAE:
00003BAE 302E FFF2 move.w D0, [A6 - 0xE]
00003BB2 536E FFF2 subq.w [A6 - 0xE], 1
00003BB6 4A40 tst.w D0
00003BB8 6EB4 bgt -0x4A /* 00003B6E */
00003BBA 4A2E FFF0 tst.b [A6 - 0x10]
00003BBE 6B04 bmi +0x6 /* 00003BC4 */
00003BC0 526E FFFE addq.w [A6 - 0x2], 1
label00003BC4:
00003BC4 526E FFFC addq.w [A6 - 0x4], 1
00003BC8 6000 059E bra +0x5A0 /* 00004168 */
00003BCC 382E FFFA move.w D4, [A6 - 0x6]
00003BD0 48C4 ext.l D4
00003BD2 4A2E FFF0 tst.b [A6 - 0x10]
00003BD6 6B00 04FC bmi +0x4FE /* 000040D4 */
00003BDA 536E FFFE subq.w [A6 - 0x2], 1
00003BDE 6000 04F4 bra +0x4F6 /* 000040D4 */
label00003BE2:
00003BE2 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00003BE6 6600 0592 bne +0x594 /* 0000417A */
label00003BEA:
00003BEA 7000 moveq.l D0, 0x00
00003BEC 1007 move.b D0, D7
00003BEE 204D movea.l A0, A5
00003BF0 D1C0 add.l A0, D0
00003BF2 7006 moveq.l D0, 0x06
00003BF4 C028 FBEA and.b D0, [A0 - 0x416]
00003BF8 6756 beq +0x58 /* 00003C50 */
label00003BFA:
00003BFA 206E 0008 movea.l A0, [A6 + 0x8]
00003BFE 2028 0012 move.l D0, [A0 + 0x12]
00003C02 53A8 0012 subq.l [A0 + 0x12], 1
00003C06 4A80 tst.l D0
00003C08 6712 beq +0x14 /* 00003C1C */
00003C0A 206E 0008 movea.l A0, [A6 + 0x8]
00003C0E 2268 000E movea.l A1, [A0 + 0xE]
00003C12 52A8 000E addq.l [A0 + 0xE], 1
00003C16 7000 moveq.l D0, 0x00
00003C18 1011 move.b D0, [A1]
00003C1A 600A bra +0xC /* 00003C26 */
label00003C1C:
00003C1C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C20 4EBA C86A jsr [PC - 0x3796 /* 0000048C */]
00003C24 588F addq.l A7, 4
label00003C26:
00003C26 3E00 move.w D7, D0
00003C28 526E FFFA addq.w [A6 - 0x6], 1
00003C2C 7000 moveq.l D0, 0x00
00003C2E 1007 move.b D0, D7
00003C30 204D movea.l A0, A5
00003C32 D1C0 add.l A0, D0
00003C34 7006 moveq.l D0, 0x06
00003C36 C028 FBEA and.b D0, [A0 - 0x416]
00003C3A 66BE bne -0x40 /* 00003BFA */
00003C3C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C40 3F07 move.w -[A7], D7
00003C42 4EBA 0ABE jsr [PC + 0xABE /* 00004702 */]
00003C46 5C8F addq.l A7, 6
00003C48 536E FFFA subq.w [A6 - 0x6], 1
00003C4C 6000 051A bra +0x51C /* 00004168 */
label00003C50:
00003C50 206E 0008 movea.l A0, [A6 + 0x8]
00003C54 2028 0012 move.l D0, [A0 + 0x12]
00003C58 53A8 0012 subq.l [A0 + 0x12], 1
00003C5C 4A80 tst.l D0
00003C5E 6712 beq +0x14 /* 00003C72 */
00003C60 206E 0008 movea.l A0, [A6 + 0x8]
00003C64 2268 000E movea.l A1, [A0 + 0xE]
00003C68 52A8 000E addq.l [A0 + 0xE], 1
00003C6C 7000 moveq.l D0, 0x00
00003C6E 1011 move.b D0, [A1]
00003C70 600A bra +0xC /* 00003C7C */
label00003C72:
00003C72 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C76 4EBA C814 jsr [PC - 0x37EC /* 0000048C */]
00003C7A 588F addq.l A7, 4
label00003C7C:
00003C7C 3E00 move.w D7, D0
00003C7E 206E 000C movea.l A0, [A6 + 0xC]
00003C82 7200 moveq.l D1, 0x00
00003C84 1210 move.b D1, [A0]
00003C86 B240 cmp.w D1, D0
00003C88 6710 beq +0x12 /* 00003C9A */
00003C8A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C8E 3F07 move.w -[A7], D7
00003C90 4EBA 0A70 jsr [PC + 0xA70 /* 00004702 */]
00003C94 5C8F addq.l A7, 6
00003C96 6000 04E2 bra +0x4E4 /* 0000417A */
label00003C9A:
00003C9A 526E FFFA addq.w [A6 - 0x6], 1
00003C9E 6000 04C8 bra +0x4CA /* 00004168 */
label00003CA2:
00003CA2 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003CA8 6606 bne +0x8 /* 00003CB0 */
00003CAA 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00003CB0:
00003CB0 4A2E FFF0 tst.b [A6 - 0x10]
00003CB4 6B62 bmi +0x64 /* 00003D18 */
00003CB6 206E 0010 movea.l A0, [A6 + 0x10]
00003CBA 58AE 0010 addq.l [A6 + 0x10], 4
00003CBE 2850 movea.l A4, [A0]
00003CC0 6056 bra +0x58 /* 00003D18 */
label00003CC2:
00003CC2 536E FFF2 subq.w [A6 - 0xE], 1
00003CC6 3F07 move.w -[A7], D7
00003CC8 4EBA 05AA jsr [PC + 0x5AA /* 00004274 */]
00003CCC 548F addq.l A7, 2
00003CCE 4A40 tst.w D0
00003CD0 674C beq +0x4E /* 00003D1E */
00003CD2 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003CD8 4A2E FFF0 tst.b [A6 - 0x10]
00003CDC 6B02 bmi +0x4 /* 00003CE0 */
00003CDE 18C7 move.b [A4]+, D7
label00003CE0:
00003CE0 4A6E FFF2 tst.w [A6 - 0xE]
00003CE4 6748 beq +0x4A /* 00003D2E */
00003CE6 206E 0008 movea.l A0, [A6 + 0x8]
00003CEA 2028 0012 move.l D0, [A0 + 0x12]
00003CEE 53A8 0012 subq.l [A0 + 0x12], 1
00003CF2 4A80 tst.l D0
00003CF4 6712 beq +0x14 /* 00003D08 */
00003CF6 206E 0008 movea.l A0, [A6 + 0x8]
00003CFA 2268 000E movea.l A1, [A0 + 0xE]
00003CFE 52A8 000E addq.l [A0 + 0xE], 1
00003D02 7000 moveq.l D0, 0x00
00003D04 1011 move.b D0, [A1]
00003D06 600A bra +0xC /* 00003D12 */
label00003D08:
00003D08 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D0C 4EBA C77E jsr [PC - 0x3882 /* 0000048C */]
00003D10 588F addq.l A7, 4
label00003D12:
00003D12 3E00 move.w D7, D0
00003D14 526E FFFA addq.w [A6 - 0x6], 1
label00003D18:
00003D18 0C47 FFFF cmpi.w D7, 0xFFFF
00003D1C 66A4 bne -0x5A /* 00003CC2 */
label00003D1E:
00003D1E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D22 3F07 move.w -[A7], D7
00003D24 4EBA 09DC jsr [PC + 0x9DC /* 00004702 */]
00003D28 5C8F addq.l A7, 6
00003D2A 536E FFFA subq.w [A6 - 0x6], 1
label00003D2E:
00003D2E 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00003D34 6700 0444 beq +0x446 /* 0000417A */
00003D38 4A2E FFF0 tst.b [A6 - 0x10]
00003D3C 6B06 bmi +0x8 /* 00003D44 */
00003D3E 4214 clr.b [A4]
00003D40 526E FFFE addq.w [A6 - 0x2], 1
label00003D44:
00003D44 526E FFFC addq.w [A6 - 0x4], 1
00003D48 6000 041E bra +0x420 /* 00004168 */
label00003D4C:
00003D4C 08EE 0002 FFF0 bset.b [A6 - 0x10], 0x2
label00003D52:
00003D52 082E 0005 FFF0 btst.b [A6 - 0x10], 0x5
00003D58 670A beq +0xC /* 00003D64 */
00003D5A 206E 0010 movea.l A0, [A6 + 0x10]
00003D5E 54AE 0010 addq.l [A6 + 0x10], 2
00003D62 3C10 move.w D6, [A0]
label00003D64:
00003D64 426E FFF6 clr.w [A6 - 0xA]
label00003D68:
00003D68 7800 moveq.l D4, 0x00
label00003D6A:
00003D6A 206E 0008 movea.l A0, [A6 + 0x8]
00003D6E 2028 0012 move.l D0, [A0 + 0x12]
00003D72 53A8 0012 subq.l [A0 + 0x12], 1
00003D76 4A80 tst.l D0
00003D78 6712 beq +0x14 /* 00003D8C */
00003D7A 206E 0008 movea.l A0, [A6 + 0x8]
00003D7E 2268 000E movea.l A1, [A0 + 0xE]
00003D82 52A8 000E addq.l [A0 + 0xE], 1
00003D86 7000 moveq.l D0, 0x00
00003D88 1011 move.b D0, [A1]
00003D8A 600A bra +0xC /* 00003D96 */
label00003D8C:
00003D8C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D90 4EBA C6FA jsr [PC - 0x3906 /* 0000048C */]
00003D94 588F addq.l A7, 4
label00003D96:
00003D96 3E00 move.w D7, D0
00003D98 526E FFFA addq.w [A6 - 0x6], 1
00003D9C 7000 moveq.l D0, 0x00
00003D9E 1007 move.b D0, D7
00003DA0 204D movea.l A0, A5
00003DA2 D1C0 add.l A0, D0
00003DA4 7006 moveq.l D0, 0x06
00003DA6 C028 FBEA and.b D0, [A0 - 0x416]
00003DAA 66BE bne -0x40 /* 00003D6A */
00003DAC 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003DB2 6606 bne +0x8 /* 00003DBA */
00003DB4 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00003DBA:
00003DBA 426E FFF8 clr.w [A6 - 0x8]
00003DBE 6000 01F4 bra +0x1F6 /* 00003FB4 */
label00003DC2:
00003DC2 536E FFF2 subq.w [A6 - 0xE], 1
00003DC6 302E FFF6 move.w D0, [A6 - 0xA]
00003DCA 6720 beq +0x22 /* 00003DEC */
00003DCC 6A0E bpl +0x10 /* 00003DDC */
00003DCE 5440 addq.w D0, 2
00003DD0 6700 0124 beq +0x126 /* 00003EF6 */
00003DD4 6A00 00F6 bpl +0xF8 /* 00003ECC */
00003DD8 6000 01A2 bra +0x1A4 /* 00003F7C */
label00003DDC:
00003DDC 5740 subq.w D0, 3
00003DDE 6700 0084 beq +0x86 /* 00003E64 */
00003DE2 6A00 0198 bpl +0x19A /* 00003F7C */
00003DE6 5240 addq.w D0, 1
00003DE8 6A5C bpl +0x5E /* 00003E46 */
00003DEA 601E bra +0x20 /* 00003E0A */
label00003DEC:
00003DEC 3D7C 0001 FFF6 move.w [A6 - 0xA], 0x1
00003DF2 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003DF6 660A bne +0xC /* 00003E02 */
00003DF8 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00003DFE 6000 017C bra +0x17E /* 00003F7C */
label00003E02:
00003E02 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003E06 6700 0174 beq +0x176 /* 00003F7C */
label00003E0A:
00003E0A 3D7C 0003 FFF6 move.w [A6 - 0xA], 0x3
00003E10 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003E14 664E bne +0x50 /* 00003E64 */
00003E16 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003E1C 4A6E FFF2 tst.w [A6 - 0xE]
00003E20 6700 015A beq +0x15C /* 00003F7C */
00003E24 4A46 tst.w D6
00003E26 660C bne +0xE /* 00003E34 */
00003E28 7C08 moveq.l D6, 0x08
00003E2A 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
00003E30 6000 014A bra +0x14C /* 00003F7C */
label00003E34:
00003E34 0C46 0010 cmpi.w D6, 0x10
00003E38 6600 0142 bne +0x144 /* 00003F7C */
00003E3C 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
00003E42 6000 0138 bra +0x13A /* 00003F7C */
label00003E46:
00003E46 3D7C 0003 FFF6 move.w [A6 - 0xA], 0x3
00003E4C 0C47 0078 cmpi.w D7, 0x78 /* 'x' */
00003E50 6706 beq +0x8 /* 00003E58 */
00003E52 0C47 0058 cmpi.w D7, 0x58 /* 'X' */
00003E56 660C bne +0xE /* 00003E64 */
label00003E58:
00003E58 7C10 moveq.l D6, 0x10
00003E5A 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00003E60 6000 011A bra +0x11C /* 00003F7C */
label00003E64:
00003E64 3A07 move.w D5, D7
00003E66 0C45 0030 cmpi.w D5, 0x30 /* '0' */
00003E6A 6D0C blt +0xE /* 00003E78 */
00003E6C 0C45 0039 cmpi.w D5, 0x39 /* '9' */
00003E70 6E06 bgt +0x8 /* 00003E78 */
00003E72 0645 FFD0 addi.w D5, 0xFFD0
00003E76 6026 bra +0x28 /* 00003E9E */
label00003E78:
00003E78 0C45 0041 cmpi.w D5, 0x41 /* 'A' */
00003E7C 6D0C blt +0xE /* 00003E8A */
00003E7E 0C45 005A cmpi.w D5, 0x5A /* 'Z' */
00003E82 6E06 bgt +0x8 /* 00003E8A */
00003E84 0645 FFC9 addi.w D5, 0xFFC9
00003E88 6014 bra +0x16 /* 00003E9E */
label00003E8A:
00003E8A 0C45 0061 cmpi.w D5, 0x61 /* 'a' */
00003E8E 6D00 012C blt +0x12E /* 00003FBC */
00003E92 0C45 007A cmpi.w D5, 0x7A /* 'z' */
00003E96 6E00 0124 bgt +0x126 /* 00003FBC */
00003E9A 0645 FFA9 addi.w D5, 0xFFA9
label00003E9E:
00003E9E 4A46 tst.w D6
00003EA0 6602 bne +0x4 /* 00003EA4 */
00003EA2 7C0A moveq.l D6, 0x0A
label00003EA4:
00003EA4 BC45 cmp.w D6, D5
00003EA6 6F00 0114 ble +0x116 /* 00003FBC */
00003EAA 2004 move.l D0, D4
00003EAC 4840 swap.w D0
00003EAE C0C6 mulu.w D0, D6
00003EB0 4840 swap.w D0
00003EB2 4A40 tst.w D0
00003EB4 6608 bne +0xA /* 00003EBE */
00003EB6 3005 move.w D0, D5
00003EB8 C8C6 mulu.w D4, D6
00003EBA D880 add.l D4, D0
00003EBC 6404 bcc +0x6 /* 00003EC2 */
label00003EBE:
00003EBE 50EE FFF8 st [A6 - 0x8]
label00003EC2:
00003EC2 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003EC8 6000 00B2 bra +0xB4 /* 00003F7C */
label00003ECC:
00003ECC 3D7C FFFE FFF6 move.w [A6 - 0xA], 0xFFFE
00003ED2 426E FFDA clr.w [A6 - 0x26]
00003ED6 422E FFDC clr.b [A6 - 0x24]
00003EDA 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003EDE 660A bne +0xC /* 00003EEA */
00003EE0 1D7C 0001 FFD8 move.b [A6 - 0x28], 0x1
00003EE6 6000 0094 bra +0x96 /* 00003F7C */
label00003EEA:
00003EEA 422E FFD8 clr.b [A6 - 0x28]
00003EEE 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003EF2 6700 0088 beq +0x8A /* 00003F7C */
label00003EF6:
00003EF6 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003EFA 6D4A blt +0x4C /* 00003F46 */
00003EFC 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003F00 6E44 bgt +0x46 /* 00003F46 */
00003F02 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003F08 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003F0C 6606 bne +0x8 /* 00003F14 */
00003F0E 4A2E FFDC tst.b [A6 - 0x24]
00003F12 6724 beq +0x26 /* 00003F38 */
label00003F14:
00003F14 0C2E 0013 FFDC cmpi.b [A6 - 0x24], 0x13
00003F1A 650E bcs +0x10 /* 00003F2A */
00003F1C 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00003F22 6658 bne +0x5A /* 00003F7C */
00003F24 526E FFDA addq.w [A6 - 0x26], 1
00003F28 6052 bra +0x54 /* 00003F7C */
label00003F2A:
00003F2A 522E FFDC addq.b [A6 - 0x24], 1
00003F2E 102E FFDC move.b D0, [A6 - 0x24]
00003F32 4880 ext.w D0
00003F34 1D87 00DC move.b [A6 + D0.w - 0x36], D7
label00003F38:
00003F38 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00003F3E 673C beq +0x3E /* 00003F7C */
00003F40 536E FFDA subq.w [A6 - 0x26], 1
00003F44 6036 bra +0x38 /* 00003F7C */
label00003F46:
00003F46 0C47 002E cmpi.w D7, 0x2E /* '.' */
00003F4A 6610 bne +0x12 /* 00003F5C */
00003F4C 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00003F52 6608 bne +0xA /* 00003F5C */
00003F54 08EE 0000 FFF0 bset.b [A6 - 0x10], 0x0
00003F5A 6020 bra +0x22 /* 00003F7C */
label00003F5C:
00003F5C 0C47 0065 cmpi.w D7, 0x65 /* 'e' */
00003F60 6706 beq +0x8 /* 00003F68 */
00003F62 0C47 0045 cmpi.w D7, 0x45 /* 'E' */
00003F66 6654 bne +0x56 /* 00003FBC */
label00003F68:
00003F68 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00003F6E 674C beq +0x4E /* 00003FBC */
00003F70 7C0A moveq.l D6, 0x0A
00003F72 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00003F78 426E FFF6 clr.w [A6 - 0xA]
label00003F7C:
00003F7C 4A6E FFF2 tst.w [A6 - 0xE]
00003F80 674A beq +0x4C /* 00003FCC */
00003F82 206E 0008 movea.l A0, [A6 + 0x8]
00003F86 2028 0012 move.l D0, [A0 + 0x12]
00003F8A 53A8 0012 subq.l [A0 + 0x12], 1
00003F8E 4A80 tst.l D0
00003F90 6712 beq +0x14 /* 00003FA4 */
00003F92 206E 0008 movea.l A0, [A6 + 0x8]
00003F96 2268 000E movea.l A1, [A0 + 0xE]
00003F9A 52A8 000E addq.l [A0 + 0xE], 1
00003F9E 7000 moveq.l D0, 0x00
00003FA0 1011 move.b D0, [A1]
00003FA2 600A bra +0xC /* 00003FAE */
label00003FA4:
00003FA4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003FA8 4EBA C4E2 jsr [PC - 0x3B1E /* 0000048C */]
00003FAC 588F addq.l A7, 4
label00003FAE:
00003FAE 3E00 move.w D7, D0
00003FB0 526E FFFA addq.w [A6 - 0x6], 1
label00003FB4:
00003FB4 0C47 FFFF cmpi.w D7, 0xFFFF
00003FB8 6600 FE08 bne -0x1F6 /* 00003DC2 */
label00003FBC:
00003FBC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003FC0 3F07 move.w -[A7], D7
00003FC2 4EBA 073E jsr [PC + 0x73E /* 00004702 */]
00003FC6 5C8F addq.l A7, 6
00003FC8 536E FFFA subq.w [A6 - 0x6], 1
label00003FCC:
00003FCC 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00003FD2 6700 01A6 beq +0x1A8 /* 0000417A */
00003FD6 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00003FDC 671A beq +0x1C /* 00003FF8 */
00003FDE 4A84 tst.l D4
00003FE0 6716 beq +0x18 /* 00003FF8 */
00003FE2 4484 neg.l D4
00003FE4 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00003FEA 6604 bne +0x6 /* 00003FF0 */
00003FEC 4A84 tst.l D4
00003FEE 6F1A ble +0x1C /* 0000400A */
label00003FF0:
00003FF0 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
00003FF6 6012 bra +0x14 /* 0000400A */
label00003FF8:
00003FF8 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00003FFE 660A bne +0xC /* 0000400A */
00004000 4A84 tst.l D4
00004002 6C06 bge +0x8 /* 0000400A */
00004004 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
label0000400A:
0000400A 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004010 6714 beq +0x16 /* 00004026 */
00004012 306E FFDA movea.w A0, [A6 - 0x26]
00004016 D888 add.l D4, A0
00004018 6906 bvs +0x8 /* 00004020 */
0000401A 2044 movea.l A0, D4
0000401C B0C8 cmpa.w A0, A0
0000401E 6704 beq +0x6 /* 00004024 */
label00004020:
00004020 50EE FFF8 st [A6 - 0x8]
label00004024:
00004024 6058 bra +0x5A /* 0000407E */
label00004026:
00004026 4A2E FFF1 tst.b [A6 - 0xF]
0000402A 6A26 bpl +0x28 /* 00004052 */
0000402C 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004032 6710 beq +0x12 /* 00004044 */
00004034 7000 moveq.l D0, 0x00
00004036 3004 move.w D0, D4
00004038 B880 cmp.l D4, D0
0000403A 6742 beq +0x44 /* 0000407E */
0000403C 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
00004042 603A bra +0x3C /* 0000407E */
label00004044:
00004044 3044 movea.w A0, D4
00004046 B888 cmp.l D4, A0
00004048 6734 beq +0x36 /* 0000407E */
0000404A 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
00004050 602C bra +0x2E /* 0000407E */
label00004052:
00004052 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004058 6624 bne +0x26 /* 0000407E */
0000405A 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004060 6710 beq +0x12 /* 00004072 */
00004062 7000 moveq.l D0, 0x00
00004064 3004 move.w D0, D4
00004066 B880 cmp.l D4, D0
00004068 6714 beq +0x16 /* 0000407E */
0000406A 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
00004070 600C bra +0xE /* 0000407E */
label00004072:
00004072 3044 movea.w A0, D4
00004074 B888 cmp.l D4, A0
00004076 6706 beq +0x8 /* 0000407E */
00004078 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
label0000407E:
0000407E 4A6E FFF8 tst.w [A6 - 0x8]
00004082 6750 beq +0x52 /* 000040D4 */
00004084 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
0000408A 6704 beq +0x6 /* 00004090 */
0000408C 7800 moveq.l D4, 0x00
0000408E 602C bra +0x2E /* 000040BC */
label00004090:
00004090 4A2E FFF1 tst.b [A6 - 0xF]
00004094 6B08 bmi +0xA /* 0000409E */
00004096 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
0000409C 6708 beq +0xA /* 000040A6 */
label0000409E:
0000409E 283C FFFF 8000 move.l D4, 0xFFFF8000
000040A4 6016 bra +0x18 /* 000040BC */
label000040A6:
000040A6 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
000040AC 6708 beq +0xA /* 000040B6 */
000040AE 283C 8000 0000 move.l D4, 0x80000000
000040B4 6006 bra +0x8 /* 000040BC */
label000040B6:
000040B6 283C FFFF 8000 move.l D4, 0xFFFF8000
label000040BC:
000040BC 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
000040C2 6602 bne +0x4 /* 000040C6 */
000040C4 4684 not.l D4
label000040C6:
000040C6 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
000040CC 6606 bne +0x8 /* 000040D4 */
000040CE 3B7C 0022 FCEA move.w [A5 - 0x316], 0x22 /* '\"' */
label000040D4:
000040D4 4A2E FFF0 tst.b [A6 - 0x10]
000040D8 6B00 008A bmi +0x8C /* 00004164 */
000040DC 206E 0010 movea.l A0, [A6 + 0x10]
000040E0 58AE 0010 addq.l [A6 + 0x10], 4
000040E4 2850 movea.l A4, [A0]
000040E6 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
000040EC 675A beq +0x5C /* 00004148 */
000040EE 3D44 FFDA move.w [A6 - 0x26], D4
000040F2 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
000040F8 6706 beq +0x8 /* 00004100 */
000040FA 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
label00004100:
00004100 082E 0005 FFF1 btst.b [A6 - 0xF], 0x5
00004106 6712 beq +0x14 /* 0000411A */
00004108 2F0C move.l -[A7], A4
0000410A 486E FFD8 pea.l [A6 - 0x28]
0000410E 4267 clr.w -[A7]
00004110 4EBA 0186 jsr [PC + 0x186 /* 00004298 */]
00004114 4FEF 000A lea.l A7, [A7 + 0xA]
00004118 6046 bra +0x48 /* 00004160 */
label0000411A:
0000411A 4A2E FFF1 tst.b [A6 - 0xF]
0000411E 6A14 bpl +0x16 /* 00004134 */
00004120 2F0C move.l -[A7], A4
00004122 486E FFD8 pea.l [A6 - 0x28]
00004126 3F3C 0800 move.w -[A7], 0x800
0000412A 4EBA 016C jsr [PC + 0x16C /* 00004298 */]
0000412E 4FEF 000A lea.l A7, [A7 + 0xA]
00004132 602C bra +0x2E /* 00004160 */
label00004134:
00004134 2F0C move.l -[A7], A4
00004136 486E FFD8 pea.l [A6 - 0x28]
0000413A 3F3C 1000 move.w -[A7], 0x1000
0000413E 4EBA 0158 jsr [PC + 0x158 /* 00004298 */]
00004142 4FEF 000A lea.l A7, [A7 + 0xA]
00004146 6018 bra +0x1A /* 00004160 */
label00004148:
00004148 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
0000414E 6704 beq +0x6 /* 00004154 */
00004150 2884 move.l [A4], D4
00004152 600C bra +0xE /* 00004160 */
label00004154:
00004154 4A2E FFF1 tst.b [A6 - 0xF]
00004158 6A04 bpl +0x6 /* 0000415E */
0000415A 3884 move.w [A4], D4
0000415C 6002 bra +0x4 /* 00004160 */
label0000415E:
0000415E 3884 move.w [A4], D4
label00004160:
00004160 526E FFFE addq.w [A6 - 0x2], 1
label00004164:
00004164 526E FFFC addq.w [A6 - 0x4], 1
label00004168:
00004168 52AE 000C addq.l [A6 + 0xC], 1
0000416C 206E 000C movea.l A0, [A6 + 0xC]
00004170 1E10 move.b D7, [A0]
00004172 4887 ext.w D7
label00004174:
00004174 4A47 tst.w D7
00004176 6600 F782 bne -0x87C /* 000038FA */
label0000417A:
0000417A 4A6E FFFC tst.w [A6 - 0x4]
0000417E 660A bne +0xC /* 0000418A */
00004180 0C47 FFFF cmpi.w D7, 0xFFFF
00004184 6604 bne +0x6 /* 0000418A */
00004186 70FF moveq.l D0, 0xFFFFFFFF
00004188 6004 bra +0x6 /* 0000418E */
label0000418A:
0000418A 302E FFFE move.w D0, [A6 - 0x2]
label0000418E:
0000418E 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00004192 4E5E unlink A6
00004194 4E75 rts
00004196 F836 FA4C .tblXX 0xF836, 0xFA4C // unimplemented
0000419A FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
0000419E FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041A2 F86E FA4C .extension 0x86E <<F/1/4>>, 0xFA4C // unimplemented
000041A6 F86E FA4C .extension 0x86E <<F/1/4>>, 0xFA4C // unimplemented
000041AA FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041AE FA4C F822 .extension 0xA4C <<F/1/5>>, 0xF822 // unimplemented
000041B2 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041B6 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041BA FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041BE FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041C2 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041C6 FA4C F868 .extension 0xA4C <<F/1/5>>, 0xF868 // unimplemented
000041CA FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041CE F8CE FA4C .extension 0x8CE <<F/2-3/4>> // unimplemented
000041D2 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041D6 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041DA FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041DE F9B8 .invalid <<F/6/4>>
000041E0 F84A F86E .extension 0x84A <<F/1/4>>, 0xF86E // unimplemented
000041E4 F86E F86E .extension 0x86E <<F/1/4>>, 0xF86E // unimplemented
000041E8 F7FA .invalid <<F/7/3>>
000041EA F850 FA4C .extension 0x850 <<F/1/4>>, 0xFA4C // unimplemented
000041EE FA4C F80E .extension 0xA4C <<F/1/5>>, 0xF80E // unimplemented
000041F2 FA4C FA36 .extension 0xA4C <<F/1/5>>, 0xFA36 // unimplemented
000041F6 F856 F862 .extension 0x856 <<F/1/4>>, 0xF862 // unimplemented
000041FA FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000041FE F87E FA4C .extension 0x87E <<F/1/4>>, 0xFA4C // unimplemented
00004202 F85C FA4C .extension 0x85C <<F/1/4>>, 0xFA4C // unimplemented
00004206 FA4C F868 .extension 0xA4C <<F/1/5>>, 0xF868 // unimplemented
fn0000420A:
0000420A 4E56 0000 link A6, 0
0000420E 41ED FF98 lea.l A0, [A5 - 0x68]
00004212 7000 moveq.l D0, 0x00
00004214 20C0 move.l [A0]+, D0
00004216 20C0 move.l [A0]+, D0
00004218 20C0 move.l [A0]+, D0
0000421A 20C0 move.l [A0]+, D0
0000421C 20C0 move.l [A0]+, D0
0000421E 20C0 move.l [A0]+, D0
00004220 20C0 move.l [A0]+, D0
00004222 20C0 move.l [A0]+, D0
00004224 4A6E 0008 tst.w [A6 + 0x8]
00004228 6710 beq +0x12 /* 0000423A */
0000422A 1B7C 003E FF99 move.b [A5 - 0x67], 0x3E /* '>' */
00004230 1B7C 0001 FF9C move.b [A5 - 0x64], 0x1
00004236 4EBA 0026 jsr [PC + 0x26 /* 0000425E */]
label0000423A:
0000423A 4E5E unlink A6
0000423C 4E75 rts
fn0000423E:
0000423E 4E56 0000 link A6, 0
00004242 7007 moveq.l D0, 0x07
00004244 C02E 0009 and.b D0, [A6 + 0x9]
00004248 7201 moveq.l D1, 0x01
0000424A E129 lsl D1.b, D0
0000424C 302E 0008 move.w D0, [A6 + 0x8]
00004250 E640 asr D0.w, 3
00004252 204D movea.l A0, A5
00004254 D0C0 add.w A0, D0
00004256 8328 FF98 or.b [A0 - 0x68], D1
0000425A 4E5E unlink A6
0000425C 4E75 rts
fn0000425E:
0000425E 41ED FF98 lea.l A0, [A5 - 0x68]
00004262 4698 not.l [A0]+
00004264 4698 not.l [A0]+
00004266 4698 not.l [A0]+
00004268 4698 not.l [A0]+
0000426A 4698 not.l [A0]+
0000426C 4698 not.l [A0]+
0000426E 4698 not.l [A0]+
00004270 4698 not.l [A0]+
00004272 4E75 rts
fn00004274:
00004274 4E56 0000 link A6, 0
00004278 7007 moveq.l D0, 0x07
0000427A C02E 0009 and.b D0, [A6 + 0x9]
0000427E 7201 moveq.l D1, 0x01
00004280 E169 lsl D1.w, D0
00004282 302E 0008 move.w D0, [A6 + 0x8]
00004286 E640 asr D0.w, 3
00004288 204D movea.l A0, A5
0000428A D0C0 add.w A0, D0
0000428C 1028 FF98 move.b D0, [A0 - 0x68]
00004290 4880 ext.w D0
00004292 C041 and.w D0, D1
00004294 4E5E unlink A6
00004296 4E75 rts
fn00004298:
00004298 4E56 FFFC link A6, -0x0004
0000429C 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
000042A0 3E2E 0008 move.w D7, [A6 + 0x8]
000042A4 286E 000A movea.l A4, [A6 + 0xA]
000042A8 266E 000E movea.l A3, [A6 + 0xE]
000042AC 7C30 moveq.l D6, 0x30
000042AE 244B movea.l A2, A3
000042B0 4A47 tst.w D7
000042B2 6604 bne +0x6 /* 000042B8 */
000042B4 47EA 0002 lea.l A3, [A2 + 0x2]
label000042B8:
000042B8 486E FFFE pea.l [A6 - 0x2]
000042BC 3F3C 0017 move.w -[A7], 0x17
000042C0 A9EB syscall Pack4/FP68K
000042C2 4A2C 0004 tst.b [A4 + 0x4]
000042C6 675E beq +0x60 /* 00004326 */
000042C8 2F0C move.l -[A7], A4
000042CA 2F0B move.l -[A7], A3
000042CC 7009 moveq.l D0, 0x09
000042CE D047 add.w D0, D7
000042D0 3F00 move.w -[A7], D0
000042D2 A9EB syscall Pack4/FP68K
000042D4 486E FFFE pea.l [A6 - 0x2]
000042D8 3F3C 0003 move.w -[A7], 0x3
000042DC A9EB syscall Pack4/FP68K
000042DE 2F0B move.l -[A7], A3
000042E0 486E FFFC pea.l [A6 - 0x4]
000042E4 701C moveq.l D0, 0x1C
000042E6 D047 add.w D0, D7
000042E8 3F00 move.w -[A7], D0
000042EA A9EB syscall Pack4/FP68K
000042EC 4A6E FFFC tst.w [A6 - 0x4]
000042F0 6C0A bge +0xC /* 000042FC */
000042F2 302E FFFC move.w D0, [A6 - 0x4]
000042F6 4440 neg.w D0
000042F8 3D40 FFFC move.w [A6 - 0x4], D0
label000042FC:
000042FC 0C6E 0003 FFFC cmpi.w [A6 - 0x4], 0x3
00004302 6708 beq +0xA /* 0000430C */
00004304 082E 0002 FFFE btst.b [A6 - 0x2], 0x2
0000430A 6704 beq +0x6 /* 00004310 */
label0000430C:
0000430C 7C49 moveq.l D6, 0x49
0000430E 6010 bra +0x12 /* 00004320 */
label00004310:
00004310 0C6E 0005 FFFC cmpi.w [A6 - 0x4], 0x5
00004316 6608 bne +0xA /* 00004320 */
00004318 082E 0001 FFFE btst.b [A6 - 0x2], 0x1
0000431E 6728 beq +0x2A /* 00004348 */
label00004320:
00004320 3B7C 0022 FCEA move.w [A5 - 0x316], 0x22 /* '\"' */
label00004326:
00004326 0C46 0030 cmpi.w D6, 0x30 /* '0' */
0000432A 6602 bne +0x4 /* 0000432E */
0000432C 4214 clr.b [A4]
label0000432E:
0000432E 426C 0002 clr.w [A4 + 0x2]
00004332 197C 0001 0004 move.b [A4 + 0x4], 0x1
00004338 1946 0005 move.b [A4 + 0x5], D6
0000433C 2F0C move.l -[A7], A4
0000433E 2F0B move.l -[A7], A3
00004340 7009 moveq.l D0, 0x09
00004342 D047 add.w D0, D7
00004344 3F00 move.w -[A7], D0
00004346 A9EB syscall Pack4/FP68K
label00004348:
00004348 4A47 tst.w D7
0000434A 6604 bne +0x6 /* 00004350 */
0000434C 34AA 0002 move.w [A2], [A2 + 0x2]
label00004350:
00004350 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
00004354 4E5E unlink A6
00004356 4E75 rts
00004358 4E56 0000 link A6, 0
0000435C 48E7 0108 movem.l -[A7], D7,A4
00004360 3E2E 0008 move.w D7, [A6 + 0x8]
00004364 4A47 tst.w D7
00004366 6F06 ble +0x8 /* 0000436E */
00004368 0C47 0006 cmpi.w D7, 0x6
0000436C 6F0A ble +0xC /* 00004378 */
label0000436E:
0000436E 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
00004374 70FF moveq.l D0, 0xFFFFFFFF
00004376 6020 bra +0x22 /* 00004398 */
label00004378:
00004378 204D movea.l A0, A5
0000437A 2007 move.l D0, D7
0000437C 48C0 ext.l D0
0000437E E588 lsl D0, 2
00004380 D1C0 add.l A0, D0
00004382 2868 FFB8 movea.l A4, [A0 - 0x48]
00004386 204D movea.l A0, A5
00004388 2007 move.l D0, D7
0000438A 48C0 ext.l D0
0000438C E588 lsl D0, 2
0000438E D1C0 add.l A0, D0
00004390 216E 000A FFB8 move.l [A0 - 0x48], [A6 + 0xA]
00004396 200C move.l D0, A4
label00004398:
00004398 4CDF 1080 movem.l D7,A4, [A7]+
0000439C 4E5E unlink A6
0000439E 4E75 rts
fn000043A0:
000043A0 4E56 0000 link A6, 0
000043A4 48E7 0108 movem.l -[A7], D7,A4
000043A8 3E2E 0008 move.w D7, [A6 + 0x8]
000043AC 4A47 tst.w D7
000043AE 6F06 ble +0x8 /* 000043B6 */
000043B0 0C47 0006 cmpi.w D7, 0x6
000043B4 6F0A ble +0xC /* 000043C0 */
label000043B6:
000043B6 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
000043BC 70FF moveq.l D0, 0xFFFFFFFF
000043BE 6036 bra +0x38 /* 000043F6 */
label000043C0:
000043C0 204D movea.l A0, A5
000043C2 2007 move.l D0, D7
000043C4 48C0 ext.l D0
000043C6 E588 lsl D0, 2
000043C8 D1C0 add.l A0, D0
000043CA 2868 FFB8 movea.l A4, [A0 - 0x48]
000043CE 200C move.l D0, A4
000043D0 5380 subq.l D0, 1
000043D2 6720 beq +0x22 /* 000043F4 */
000043D4 204D movea.l A0, A5
000043D6 2007 move.l D0, D7
000043D8 48C0 ext.l D0
000043DA E588 lsl D0, 2
000043DC D1C0 add.l A0, D0
000043DE 42A8 FFB8 clr.l [A0 - 0x48]
000043E2 200C move.l D0, A4
000043E4 6608 bne +0xA /* 000043EE */
000043E6 4267 clr.w -[A7]
000043E8 4EBA BFC4 jsr [PC - 0x403C /* 000003AE */]
000043EC 548F addq.l A7, 2
label000043EE:
000043EE 3F07 move.w -[A7], D7
000043F0 4E94 jsr [A4]
000043F2 548F addq.l A7, 2
label000043F4:
000043F4 7000 moveq.l D0, 0x00
label000043F6:
000043F6 4CDF 1080 movem.l D7,A4, [A7]+
000043FA 4E5E unlink A6
000043FC 4E75 rts
000043FE 3F3C 0001 move.w -[A7], 0x1
00004402 4EBA FF9C jsr [PC - 0x64 /* 000043A0 */]
00004406 4257 clr.w [A7]
00004408 4EBA BFA4 jsr [PC - 0x405C /* 000003AE */]
0000440C 548F addq.l A7, 2
0000440E 4E75 rts
fn00004410:
00004410 4E56 0000 link A6, 0
00004414 2F0C move.l -[A7], A4
00004416 286E 0008 movea.l A4, [A6 + 0x8]
0000441A 4A14 tst.b [A4]
0000441C 6A04 bpl +0x6 /* 00004422 */
0000441E 4EBA C540 jsr [PC - 0x3AC0 /* 00000960 */]
label00004422:
00004422 4A6C 0004 tst.w [A4 + 0x4]
00004426 661A bne +0x1C /* 00004442 */
00004428 41EC 0002 lea.l A0, [A4 + 0x2]
0000442C 2948 0006 move.l [A4 + 0x6], A0
00004430 2948 000E move.l [A4 + 0xE], A0
00004434 7001 moveq.l D0, 0x01
00004436 2940 000A move.l [A4 + 0xA], D0
0000443A 41ED 00BA lea.l A0, [A5 + 0xBA /* export_19 */]
0000443E 2948 0022 move.l [A4 + 0x22], A0
label00004442:
00004442 200C move.l D0, A4
00004444 285F movea.l A4, [A7]+
00004446 4E5E unlink A6
00004448 4E75 rts
fn0000444A:
0000444A 4E56 0000 link A6, 0
0000444E 48E7 0018 movem.l -[A7], A3,A4
00004452 286E 0008 movea.l A4, [A6 + 0x8]
00004456 266E 000C movea.l A3, [A6 + 0xC]
0000445A 204B movea.l A0, A3
0000445C 50C1 st D1
label0000445E:
0000445E 16C0 move.b [A3]+, D0
00004460 5201 addq.b D1, 1
00004462 101C move.b D0, [A4]+
00004464 66F8 bne -0x6 /* 0000445E */
00004466 1081 move.b [A0], D1
00004468 2008 move.l D0, A0
0000446A 4CDF 1800 movem.l A3,A4, [A7]+
0000446E 4E5E unlink A6
00004470 4E75 rts
fn00004472:
00004472 4E56 0000 link A6, 0
00004476 2F2E 000C move.l -[A7], [A6 + 0xC]
0000447A 4EBA 0278 jsr [PC + 0x278 /* 000046F4 */]
0000447E 2E80 move.l [A7], D0
00004480 2F2E 000C move.l -[A7], [A6 + 0xC]
00004484 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004488 4EBA 002C jsr [PC + 0x2C /* 000044B6 */]
0000448C 202E 0008 move.l D0, [A6 + 0x8]
00004490 4E5E unlink A6
00004492 4E75 rts
fn00004494:
00004494 4E56 0000 link A6, 0
00004498 4878 FFFF push.l 0xFFFF
0000449C 2F2E 000C move.l -[A7], [A6 + 0xC]
000044A0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000044A4 4EBA 0010 jsr [PC + 0x10 /* 000044B6 */]
000044A8 206E 0008 movea.l A0, [A6 + 0x8]
000044AC 08D0 0003 bset.b [A0], 0x3
000044B0 2008 move.l D0, A0
000044B2 4E5E unlink A6
000044B4 4E75 rts
fn000044B6:
000044B6 4E56 0000 link A6, 0
000044BA 2F0C move.l -[A7], A4
000044BC 286E 0008 movea.l A4, [A6 + 0x8]
000044C0 4878 0026 push.l 0x26 /* '&' */
000044C4 4267 clr.w -[A7]
000044C6 2F0C move.l -[A7], A4
000044C8 4EBA E9FC jsr [PC - 0x1604 /* 00002EC6 */]
000044CC 397C FFFF 0004 move.w [A4 + 0x4], 0xFFFF
000044D2 296E 000C 000E move.l [A4 + 0xE], [A6 + 0xC]
000044D8 296E 0010 0012 move.l [A4 + 0x12], [A6 + 0x10]
000044DE 41ED 00BA lea.l A0, [A5 + 0xBA /* export_19 */]
000044E2 2948 0022 move.l [A4 + 0x22], A0
000044E6 286E FFFC movea.l A4, [A6 - 0x4]
000044EA 4E5E unlink A6
000044EC 4E75 rts
export_19:
000044EE 4E56 0000 link A6, 0
000044F2 70FF moveq.l D0, 0xFFFFFFFF
000044F4 4E5E unlink A6
000044F6 4E75 rts
export_20:
fn000044F8:
000044F8 4E56 0000 link A6, 0
000044FC 486E 0010 pea.l [A6 + 0x10]
00004500 2F2E 000C move.l -[A7], [A6 + 0xC]
00004504 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004508 4EBA 0006 jsr [PC + 0x6 /* 00004510 */]
0000450C 4E5E unlink A6
0000450E 4E75 rts
fn00004510:
00004510 4E56 FFDA link A6, -0x0026
00004514 2F07 move.l -[A7], D7
00004516 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000451A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000451E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004522 486E FFDA pea.l [A6 - 0x26]
00004526 4EBA FF6C jsr [PC - 0x94 /* 00004494 */]
0000452A 588F addq.l A7, 4
0000452C 2E80 move.l [A7], D0
0000452E 4EBA E9AE jsr [PC - 0x1652 /* 00002EDE */]
00004532 3E00 move.w D7, D0
00004534 4A40 tst.w D0
00004536 4FEF 000C lea.l A7, [A7 + 0xC]
0000453A 6D08 blt +0xA /* 00004544 */
0000453C 206E 0008 movea.l A0, [A6 + 0x8]
00004540 4230 7000 clr.b [A0 + D7.w]
label00004544:
00004544 3007 move.w D0, D7
00004546 2E1F move.l D7, [A7]+
00004548 4E5E unlink A6
0000454A 4E75 rts
0000454C 4E56 0000 link A6, 0
00004550 486E 0010 pea.l [A6 + 0x10]
00004554 2F2E 000C move.l -[A7], [A6 + 0xC]
00004558 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000455C 4EBA 0006 jsr [PC + 0x6 /* 00004564 */]
00004560 4E5E unlink A6
00004562 4E75 rts
fn00004564:
00004564 4E56 FFDA link A6, -0x0026
00004568 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000456C 2F2E 000C move.l -[A7], [A6 + 0xC]
00004570 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004574 486E FFDA pea.l [A6 - 0x26]
00004578 4EBA FEF8 jsr [PC - 0x108 /* 00004472 */]
0000457C 588F addq.l A7, 4
0000457E 2E80 move.l [A7], D0
00004580 4EBA F358 jsr [PC - 0xCA8 /* 000038DA */]
00004584 4E5E unlink A6
00004586 4E75 rts
fn00004588:
00004588 4E56 0000 link A6, 0
0000458C 4267 clr.w -[A7]
0000458E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004592 206E 0008 movea.l A0, [A6 + 0x8]
00004596 2068 0022 movea.l A0, [A0 + 0x22]
0000459A 4E90 jsr [A0]
0000459C 4E5E unlink A6
0000459E 4E75 rts
fn000045A0:
000045A0 4E56 0000 link A6, 0
000045A4 3F3C 0001 move.w -[A7], 0x1
000045A8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045AC 206E 0008 movea.l A0, [A6 + 0x8]
000045B0 2068 0022 movea.l A0, [A0 + 0x22]
000045B4 4E90 jsr [A0]
000045B6 4E5E unlink A6
000045B8 4E75 rts
fn000045BA:
000045BA 4E56 0000 link A6, 0
000045BE 3F3C 0002 move.w -[A7], 0x2
000045C2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045C6 206E 0008 movea.l A0, [A6 + 0x8]
000045CA 2068 0022 movea.l A0, [A0 + 0x22]
000045CE 4E90 jsr [A0]
000045D0 4E5E unlink A6
000045D2 4E75 rts
export_21:
000045D4 206F 0004 movea.l A0, [A7 + 0x4]
000045D8 226F 0008 movea.l A1, [A7 + 0x8]
000045DC 2008 move.l D0, A0
label000045DE:
000045DE 10D9 move.b [A0]+, [A1]+
000045E0 66FC bne -0x2 /* 000045DE */
000045E2 4E75 rts
000045E4 206F 0004 movea.l A0, [A7 + 0x4]
000045E8 226F 0008 movea.l A1, [A7 + 0x8]
000045EC 2008 move.l D0, A0
label000045EE:
000045EE 4A18 tst.b [A0]+
000045F0 66FC bne -0x2 /* 000045EE */
000045F2 5388 subq.l A0, 1
label000045F4:
000045F4 10D9 move.b [A0]+, [A1]+
000045F6 66FC bne -0x2 /* 000045F4 */
000045F8 4E75 rts
000045FA 206F 0004 movea.l A0, [A7 + 0x4]
000045FE 226F 0008 movea.l A1, [A7 + 0x8]
00004602 7000 moveq.l D0, 0x00
00004604 6004 bra +0x6 /* 0000460A */
label00004606:
00004606 4A01 tst.b D1
00004608 670C beq +0xE /* 00004616 */
label0000460A:
0000460A 1218 move.b D1, [A0]+
0000460C B219 cmp.b D1, [A1]+
0000460E 67F6 beq -0x8 /* 00004606 */
00004610 6202 bhi +0x4 /* 00004614 */
00004612 5580 subq.l D0, 2
label00004614:
00004614 5280 addq.l D0, 1
label00004616:
00004616 4E75 rts
00004618 206F 0004 movea.l A0, [A7 + 0x4]
0000461C 122F 0009 move.b D1, [A7 + 0x9]
00004620 7000 moveq.l D0, 0x00
00004622 6004 bra +0x6 /* 00004628 */
label00004624:
00004624 4A18 tst.b [A0]+
00004626 6706 beq +0x8 /* 0000462E */
label00004628:
00004628 B210 cmp.b D1, [A0]
0000462A 66F8 bne -0x6 /* 00004624 */
0000462C 2008 move.l D0, A0
label0000462E:
0000462E 4E75 rts
00004630 206F 0004 movea.l A0, [A7 + 0x4]
00004634 70FF moveq.l D0, 0xFFFFFFFF
label00004636:
00004636 5280 addq.l D0, 1
00004638 1218 move.b D1, [A0]+
0000463A 670C beq +0xE /* 00004648 */
0000463C 226F 0008 movea.l A1, [A7 + 0x8]
label00004640:
00004640 1419 move.b D2, [A1]+
00004642 67F2 beq -0xC /* 00004636 */
00004644 B401 cmp.b D2, D1
00004646 66F8 bne -0x6 /* 00004640 */
label00004648:
00004648 4E75 rts
0000464A 206F 0004 movea.l A0, [A7 + 0x4]
0000464E 7000 moveq.l D0, 0x00
label00004650:
00004650 1218 move.b D1, [A0]+
00004652 6710 beq +0x12 /* 00004664 */
00004654 226F 0008 movea.l A1, [A7 + 0x8]
label00004658:
00004658 1419 move.b D2, [A1]+
0000465A 67F4 beq -0xA /* 00004650 */
0000465C B401 cmp.b D2, D1
0000465E 66F8 bne -0x6 /* 00004658 */
00004660 5388 subq.l A0, 1
00004662 2008 move.l D0, A0
label00004664:
00004664 4E75 rts
00004666 206F 0004 movea.l A0, [A7 + 0x4]
0000466A 122F 0009 move.b D1, [A7 + 0x9]
0000466E 7000 moveq.l D0, 0x00
label00004670:
00004670 B210 cmp.b D1, [A0]
00004672 6602 bne +0x4 /* 00004676 */
00004674 2008 move.l D0, A0
label00004676:
00004676 4A18 tst.b [A0]+
00004678 66F6 bne -0x8 /* 00004670 */
0000467A 4E75 rts
0000467C 206F 0004 movea.l A0, [A7 + 0x4]
00004680 7000 moveq.l D0, 0x00
00004682 6006 bra +0x8 /* 0000468A */
label00004684:
00004684 B401 cmp.b D2, D1
00004686 660A bne +0xC /* 00004692 */
00004688 5280 addq.l D0, 1
label0000468A:
0000468A 1218 move.b D1, [A0]+
0000468C 6708 beq +0xA /* 00004696 */
0000468E 226F 0008 movea.l A1, [A7 + 0x8]
label00004692:
00004692 1419 move.b D2, [A1]+
00004694 66EE bne -0x10 /* 00004684 */
label00004696:
00004696 4E75 rts
00004698 202F 0004 move.l D0, [A7 + 0x4]
0000469C 6006 bra +0x8 /* 000046A4 */
label0000469E:
0000469E B401 cmp.b D2, D1
000046A0 6708 beq +0xA /* 000046AA */
000046A2 5280 addq.l D0, 1
label000046A4:
000046A4 2040 movea.l A0, D0
000046A6 226F 0008 movea.l A1, [A7 + 0x8]
label000046AA:
000046AA 1219 move.b D1, [A1]+
000046AC 6706 beq +0x8 /* 000046B4 */
000046AE 1418 move.b D2, [A0]+
000046B0 66EC bne -0x12 /* 0000469E */
000046B2 7000 moveq.l D0, 0x00
label000046B4:
000046B4 4E75 rts
000046B6 202F 0004 move.l D0, [A7 + 0x4]
000046BA 6606 bne +0x8 /* 000046C2 */
label000046BC:
000046BC 202D FFFC move.l D0, [A5 - 0x4]
000046C0 6730 beq +0x32 /* 000046F2 */
label000046C2:
000046C2 42AD FFFC clr.l [A5 - 0x4]
000046C6 2040 movea.l A0, D0
000046C8 6006 bra +0x8 /* 000046D0 */
label000046CA:
000046CA B401 cmp.b D2, D1
000046CC 660A bne +0xC /* 000046D8 */
000046CE 2008 move.l D0, A0
label000046D0:
000046D0 1218 move.b D1, [A0]+
000046D2 67E8 beq -0x16 /* 000046BC */
000046D4 226F 0008 movea.l A1, [A7 + 0x8]
label000046D8:
000046D8 1419 move.b D2, [A1]+
000046DA 66EE bne -0x10 /* 000046CA */
label000046DC:
000046DC 1218 move.b D1, [A0]+
000046DE 6712 beq +0x14 /* 000046F2 */
000046E0 226F 0008 movea.l A1, [A7 + 0x8]
label000046E4:
000046E4 1419 move.b D2, [A1]+
000046E6 67F4 beq -0xA /* 000046DC */
000046E8 B401 cmp.b D2, D1
000046EA 66F8 bne -0x6 /* 000046E4 */
000046EC 2B48 FFFC move.l [A5 - 0x4], A0
000046F0 4220 clr.b -[A0]
label000046F2:
000046F2 4E75 rts
fn000046F4:
000046F4 70FF moveq.l D0, 0xFFFFFFFF
000046F6 206F 0004 movea.l A0, [A7 + 0x4]
label000046FA:
000046FA 5280 addq.l D0, 1
000046FC 4A18 tst.b [A0]+
000046FE 66FA bne -0x4 /* 000046FA */
00004700 4E75 rts
fn00004702:
00004702 4E56 FFFC link A6, -0x0004
00004706 2F0C move.l -[A7], A4
00004708 286E 000A movea.l A4, [A6 + 0xA]
0000470C 0C6E FFFF 0008 cmpi.w [A6 + 0x8], 0xFFFF
00004712 6606 bne +0x8 /* 0000471A */
00004714 70FF moveq.l D0, 0xFFFFFFFF
00004716 6000 008C bra +0x8E /* 000047A4 */
label0000471A:
0000471A 2F0C move.l -[A7], A4
0000471C 4EBA FCF2 jsr [PC - 0x30E /* 00004410 */]
00004720 4A2C 0001 tst.b [A4 + 0x1]
00004724 588F addq.l A7, 4
00004726 6A0A bpl +0xC /* 00004732 */
00004728 4AAC 0012 tst.l [A4 + 0x12]
0000472C 675A beq +0x5C /* 00004788 */
0000472E 70FF moveq.l D0, 0xFFFFFFFF
00004730 6072 bra +0x74 /* 000047A4 */
label00004732:
00004732 202C 0012 move.l D0, [A4 + 0x12]
00004736 B0AC 000A cmp.l D0, [A4 + 0xA]
0000473A 6622 bne +0x24 /* 0000475E */
0000473C 4AAC 000A tst.l [A4 + 0xA]
00004740 671C beq +0x1E /* 0000475E */
00004742 202C 0012 move.l D0, [A4 + 0x12]
00004746 91AC 0016 sub.l [A4 + 0x16], D0
0000474A 42AC 0012 clr.l [A4 + 0x12]
0000474E 41EC 0004 lea.l A0, [A4 + 0x4]
00004752 2948 000E move.l [A4 + 0xE], A0
00004756 08EC 0007 0001 bset.b [A4 + 0x1], 0x7
0000475C 602A bra +0x2C /* 00004788 */
label0000475E:
0000475E 202C 000E move.l D0, [A4 + 0xE]
00004762 B0AC 0006 cmp.l D0, [A4 + 0x6]
00004766 6620 bne +0x22 /* 00004788 */
00004768 2F2C 0012 move.l -[A7], [A4 + 0x12]
0000476C 2F2C 0006 move.l -[A7], [A4 + 0x6]
00004770 202C 000A move.l D0, [A4 + 0xA]
00004774 90AC 0012 sub.l D0, [A4 + 0x12]
00004778 D1AC 000E add.l [A4 + 0xE], D0
0000477C 2F2C 000E move.l -[A7], [A4 + 0xE]
00004780 4EBA E6DE jsr [PC - 0x1922 /* 00002E60 */]
00004784 4FEF 000C lea.l A7, [A7 + 0xC]
label00004788:
00004788 0894 0005 bclr.b [A4], 0x5
0000478C 52AC 0012 addq.l [A4 + 0x12], 1
00004790 53AC 000E subq.l [A4 + 0xE], 1
00004794 206C 000E movea.l A0, [A4 + 0xE]
00004798 102E 0009 move.b D0, [A6 + 0x9]
0000479C 1080 move.b [A0], D0
0000479E 7200 moveq.l D1, 0x00
000047A0 1200 move.b D1, D0
000047A2 3001 move.w D0, D1
label000047A4:
000047A4 285F movea.l A4, [A7]+
000047A6 4E5E unlink A6
000047A8 4E75 rts